Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki edit access
-
DeliveryStore XSS payload in Cargo data/query
-
ExploitVictim renders affected page
-
ExecutionScript executes in victim browser
-
ImpactHijack session or act as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the MediaWiki Cargo extension (version 3.9.4 or earlier) to be installed and in use for storing/querying page data. An attacker must be able to save content that populates Cargo-stored data - this depends on the wiki's edit policy (anonymous editing on an open wiki satisfies PR:N, but most production wikis require at least a registered account, making PR:L more realistic). Execution further requires a victim to view the page or Cargo-generated output that renders the un-neutralized data, i.e. user interaction. Wikis that restrict editing to trusted users, disable Cargo, or run a patched version are not exposed. |
| Impact | This is a stored (persistent) cross-site scripting flaw (CWE-79) in the MediaWiki Cargo extension through version 3.9.4, reported by the Wikimedia Foundation itself. The only quantitative signal available is the vendor-supplied CVSS 4.0 base score of 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N), which correctly captures the limited, XSS-typical impact: low confidentiality to the vulnerable system plus a low subsequent-system confidentiality effect (the victim's browser session). There is no EPSS score, no CISA KEV listing, and no public exploit code referenced - the sole reference is a Wikimedia Phabricator task, so exploitation status is 'no public exploit identified at time of analysis.' Two vector points warrant scrutiny: the vendor rates PR:N and UI:N, but stored XSS realistically requires (a) the ability to save wiki content carrying the payload - often an account or at least open/anonymous edit rights depending on wiki configuration - and (b) a victim subsequently rendering the affected page, which is genuine user interaction. Treating those as UI:R and (frequently) PR:L lowers the practical risk below what the raw 6.9 suggests. Net: a legitimate, real vulnerability worth patching, but a moderate - not urgent - priority given no active exploitation, no POC, limited (VC:L/SC:L) impact, and dependence on wiki edit/view workflow rather than pure unauthenticated automation. |
| Exploit ScenarioDerived | An attacker with the ability to edit wiki content (an account, or anonymous editing on an open wiki) submits a Cargo-backed page or query whose stored data contains a script payload that is not properly neutralized during page generation. When another user - potentially an administrator - later views the page or a report rendering that Cargo data, the script executes in their browser under the wiki's origin, enabling session/cookie theft or actions on their behalf. No public proof-of-concept is referenced; only a Wikimedia Phabricator tracking task is cited. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Stored cross-site scripting (XSS) in the MediaWiki Cargo extension through version 3.9.4 allows attackers to inject persistent malicious scripts into wiki pages that execute in the browsers of users viewing the content. The flaw requires the ability to save content that populates Cargo-stored data (typically an authenticated editor, though open wikis with anonymous editing may also be vulnerable) and user interaction from a victim. The Wikimedia Foundation reported the issue, but no public exploit code has been identified, and no vendor patch is yet available.
RemediationAI
No vendor-released patch is identified at time of analysis. As a compensating control, restrict editing rights to trusted users by adjusting MediaWiki group permissions (e.g., set $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = false; and use a trusted group for editing) - this reduces the attack surface but may hinder collaboration. Alternatively, disable the Cargo extension by removing the require_once line for Cargo from LocalSettings.php; this eliminates the vulnerability but also removes all Cargo functionality. Monitor the Phabricator task T435206 for an official patch and upgrade to the fixed version once released. Additionally, audit existing wiki content for injected scripts and consider implementing a Content Security Policy (CSP) to mitigate XSS impact.
Affected VersionsENISA
Affected Packages
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 is a stored cross-site scripting (CWE-79) in the Cargo extension for MediaWiki, which enables the storage and querying of structured data within wiki pages. The Cargo extension allows users to embed data in pages and then render it as tables, lists, or other formats via queries. Improper neutralization of input during web page generation means that data stored via Cargo is not properly escaped when output, allowing an attacker to inject JavaScript that executes in the context of a victim's browser. The CPE string (cpe:2.3:a:the_wikimedia_foundation:mediawiki_-_cargo_extension:*:*:*:*:*:*:*:*) confirms the affected product is the Cargo extension, and the issue affects versions through 3.9.4.
Know when Mediawiki 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Stored XSS needs edit rights to save the payload (PR:L) and a victim to render it (UI:R); browser-context execution crosses into the user's session (S:C) with low C/I impact.
Primary rating from Vendor (wikimedia-foundation).
CVSS VectorVendor: wikimedia-foundation
DescriptionCVE.org
Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Mediawiki - Cargo extension allows Stored XSS.
This issue affects Mediawiki - Cargo extension: through 3.9.4.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
EUVD-2026-87312
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB