Skip to main content

Mediawiki Cargo Extension CVE-2026-39837

| EUVDEUVD-2026-19927 MEDIUM
Basic XSS (CWE-80)
2026-04-07 wikimedia-foundation GHSA-6m53-gpj2-w66j
6.3
CVSS 4.0 · Vendor: wikimedia-foundation
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 4.0 vector indicates network-based attack (AV:N), low complexity (AC:L), requiring user interaction (UI:P) and low privileges (PR:L), with high scope impact on confidentiality (SC:H) and integrity (SI:H) of the content served. The stored nature of the XSS amplifies real-world risk beyond typical reflected XSS-victims do not need to click a malicious link; simply viewing a page with injected content triggers the vulnerability. The requirement for authenticated access (PR:L) and user interaction (viewing a page) limits automatic exploitation, placing this in the medium-risk tier. However, given that Mediawiki extensions are deployed across thousands of wiki installations and Cargo is a popular extension for data-driven content, the cumulative impact could be significant if not patched. Exploitation probability and active exploitation status cannot be definitively assessed from available data, though the recent patch availability suggests the issue was developer-confirmed and responsibly disclosed.

Exploit ScenarioDerived

An authenticated user with page editing privileges (e.g., a registered contributor on a Mediawiki instance using Cargo) crafts a malicious payload containing script tags and injects it into a Cargo template or page field. When other users view the page, the unescaped HTML and JavaScript execute in their browsers, potentially allowing the attacker to steal session cookies, modify displayed content, or redirect users to a phishing site. Because the payload persists in the page data, every subsequent viewer is affected until the malicious content is manually removed, making this a high-impact attack vector on collaborative wiki platforms where many users access the same content.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 07, 2026

Stored cross-site scripting (XSS) in the Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to inject malicious scripts via improper neutralization of HTML tags, enabling persistent client-side attacks against other users viewing affected content. The vulnerability requires user interaction (page view) but grants attackers the ability to modify page content and session information for victims, with CVSS 6.3 reflecting medium severity and EPSS exploitation probability not independently confirmed from available data.

RemediationAI

Vendors and site administrators must upgrade the Mediawiki Cargo Extension to version 3.8.7 or later to remediate the vulnerability. The upstream fix is documented in Gerrit commit https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/1237979 and referenced in the Wikimedia Phabricator task https://phabricator.wikimedia.org/T416402. Administrators managing Mediawiki installations should prioritize upgrading the Cargo Extension as part of their patch management process. No workarounds are documented; upgrade is the primary remediation path. Sites that cannot immediately upgrade should restrict access to the Cargo Extension to trusted administrators only and monitor for suspicious content modifications or injected scripts in pages using the extension.

Affected VersionsENISA

Mediawiki - Cargo Extension 0 <3.8.7

Affected Packages

euvd mediawiki_cargo_extension fix: 3.8.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from inadequate input sanitization in the Cargo Extension for Mediawiki, a popular content organization system built on the Mediawiki platform. CWE-80 (Improper Neutralization of Script-Related HTML Tags) indicates the root cause: the extension fails to properly escape or filter HTML script tags and related constructs when processing user-supplied data, allowing attackers to inject arbitrary JavaScript that executes in the context of other users' browsers. This is a classic stored XSS vulnerability where malicious payloads persist in the application's data store (likely template or page content) and are served to subsequent viewers without proper output encoding. The affected product is Mediawiki Cargo Extension (CPE: cpe:2.3:a:wikimedia_foundation:mediawiki_-_cargo_extension:*:*:*:*:*:*:*:*), which is a widely-used extension for structured data management in Mediawiki installations.

Know when Mediawiki Cargo Extension gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wikimedia-foundation) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (wikimedia-foundation) · only source for this CVE.

CVSS VectorVendor: wikimedia-foundation

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
3.8.7
CVE Published
Apr 07, 2026 - 19:47 nvd
MEDIUM 6.3

DescriptionCVE.org

Improper neutralization of Script-Related HTML tags in a web page (basic XSS) vulnerability in WikiWorks Mediawiki - Cargo Extension allows Stored XSS.This issue affects Mediawiki - Cargo Extension: before 3.8.7.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-58519 MEDIUM
6.9 Jul 01

Stored cross-site scripting in the Wikimedia Foundation's MediaWiki Cargo Extension (all versions before 3.9.1) allows a

CVE-2026-96878 MEDIUM
6.9 Sep 25

Reflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) lets remote, unauthenticated at

CVE-2026-96877 MEDIUM
6.9 Sep 25

Reflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) allows an unauthenticated remot

CVE-2026-96876 MEDIUM
6.9 Sep 25

Reflected cross-site scripting in the MediaWiki Cargo extension, affecting all versions through 3.9.4, allows an unauthe

CVE-2026-96875 MEDIUM
6.9 Sep 25

Stored cross-site scripting (XSS) in the MediaWiki Cargo extension through version 3.9.4 allows attackers to inject pers

CVE-2026-14363 MEDIUM
6.9 Jul 01

SQL injection in the Wikimedia Foundation's MediaWiki Cargo Extension exposes wiki deployments to unauthenticated databa

CVE-2026-58521 MEDIUM
6.9 Jul 01

SQL injection in the Wikimedia Foundation's Cargo Extension for MediaWiki exposes all installations running versions pri

CVE-2026-39841 MEDIUM
6.3 Apr 07

Stored XSS vulnerability in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing permissi

CVE-2026-39839 MEDIUM
6.3 Apr 07

Stored XSS in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing privileges to inject m

CVE-2026-103049 MEDIUM
6.1 Sep 29

Reflected cross-site scripting in the MediaWiki Cargo extension before 1.46.1 lets remote attackers inject script into a

CVE-2026-39840 MEDIUM
5.1 Apr 07

Cross-site scripting (XSS) vulnerability in Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to

CVE-2026-96874 LOW
2.3 Sep 25

Stored cross-site scripting in the MediaWiki Cargo extension through version 3.9.4 lets an authenticated user with conte

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy