Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki editing access (or use anonymous editing)
-
DeliveryInject script payload into a Cargo-tracked structured data field
-
ExploitCargo stores unsanitized payload in database
-
ExecutionVictim loads a wiki page rendering the Cargo query
-
PersistBrowser executes injected script
-
ImpactExfiltrate session token or deliver secondary payload
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 | The Cargo Extension must be installed and active on the MediaWiki instance. The attacker must be able to write to a Cargo-tracked page or table - on wikis with open editing (anonymous or low-privilege accounts permitted to edit), this requires no authentication. On wikis that restrict editing to logged-in or higher-privilege users, the attacker must possess at least contributor-level credentials. The stored payload executes when any user (including administrators) loads a wiki page that renders output from the poisoned Cargo query. Exploitation is limited to MediaWiki deployments running Cargo Extension versions prior to 3.9.1; wikis that have disabled the Cargo extension or have not yet populated Cargo tables with attacker-controlled data are not at immediate risk. Browser-level protections such as HttpOnly cookies and CSP can reduce but do not eliminate impact. |
| Impact | The CVSS 4.0 base score of 6.9 and the E:A exploitation evidence modifier together indicate an actively exploited, medium-high severity vulnerability. The vector AV:N/AC:L/AT:N/PR:N reflects broad network reachability and low complexity, though PR:N warrants scrutiny: MediaWiki deployments that restrict editing to authenticated users would reduce the attacker's initial access to logged-in contributors, softening the PR:N claim. The SC:L/SI:L/SA:L metrics confirm downstream impact on users' browser sessions and data integrity, consistent with stored XSS scope change. Critically, the E:A tag in the CVSS 4.0 supplemental metrics indicates active exploitation has been observed, making this a genuine operational priority for any organization running an internet-accessible MediaWiki instance with the Cargo extension. EPSS data is not provided; however, the active-exploitation signal outweighs the absence of a specific EPSS score for triage purposes. No KEV listing in the CISA catalog is indicated by the input data, so active exploitation is asserted by the vendor/reporter but not yet independently confirmed by CISA. |
| Exploit ScenarioDerived | An attacker with editing access (or none, if anonymous editing is enabled) submits a Cargo-tracked wiki page containing a malicious payload such as a script tag within a structured data field - for example, a Cargo table value like a name or description field. The Cargo extension stores this unsanitized value in its database. Any wiki user who subsequently views a page that queries and displays that Cargo table triggers automatic execution of the injected script, which can silently exfiltrate the victim's session cookie to an attacker-controlled server, enabling account takeover without any additional user interaction beyond page load. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Stored cross-site scripting in the Wikimedia Foundation's MediaWiki Cargo Extension (all versions before 3.9.1) allows attackers to inject persistent malicious scripts into wiki pages rendered through the Cargo data-display system. The CVSS 4.0 vector carries E:A (evidence of active exploitation), elevating this beyond a theoretical risk. Successful exploitation enables session hijacking, credential theft, and in-browser payload delivery against any user who views an affected Cargo-rendered page.
RemediationAI
Upgrade the MediaWiki Cargo Extension to version 3.9.1 or later, which incorporates the fix committed in Gerrit change 1277612 (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/1277612). The patched version 3.9.1 is confirmed by the advisory scope statement. If immediate upgrade is not feasible, restrict wiki editing permissions to trusted authenticated users only via MediaWiki's $wgGroupPermissions configuration to eliminate the PR:N attack surface - note this may break anonymous contribution workflows. Additionally, enabling MediaWiki's Content Security Policy (CSP) headers via $wgCSPHeader can limit the impact of any injected scripts by restricting script execution origins, though CSP is a mitigation layer, not a fix. Review existing Cargo table data for suspicious script payloads as part of incident response, since stored XSS means malicious content may already be present in the database.
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 MediaWiki Cargo Extension (CPE: cpe:2.3:a:the_wikimedia_foundation:mediawiki_-_cargo_extension:*:*:*:*:*:*:*:*) adds structured-data storage and querying to MediaWiki by allowing wiki editors to define database-backed tables and display query results on wiki pages. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS): user-supplied input passed through Cargo's data-storage or query-display pipeline is not adequately sanitized before being embedded in HTML output. Because Cargo renders structured data directly into page HTML, a poisoned field value persists in the underlying data store and is re-injected into every page load that queries or displays it, making this a stored (Type II) XSS rather than reflected.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:A
Network-reachable stored XSS with no complexity; PR:N reflects open-editing wikis; UI:R required as victim must load the poisoned page; scope changes to browser context.
Primary rating from Vendor (wikimedia-foundation).
CVSS VectorVendor: wikimedia-foundation
Lifecycle Timeline
1DescriptionCVE.org
Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in The Wikimedia Foundation Mediawiki - Cargo Extension allows Stored XSS.
This issue affects Mediawiki - Cargo Extension: from * before 3.9.1.
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.
More in Mediawiki Cargo Extension
View allReflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) lets remote, unauthenticated at
Reflected cross-site scripting in the MediaWiki Cargo extension (versions through 3.9.4) allows an unauthenticated remot
Reflected cross-site scripting in the MediaWiki Cargo extension, affecting all versions through 3.9.4, allows an unauthe
Stored cross-site scripting (XSS) in the MediaWiki Cargo extension through version 3.9.4 allows attackers to inject pers
SQL injection in the Wikimedia Foundation's MediaWiki Cargo Extension exposes wiki deployments to unauthenticated databa
SQL injection in the Wikimedia Foundation's Cargo Extension for MediaWiki exposes all installations running versions pri
Stored cross-site scripting (XSS) in the Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to in
Stored XSS vulnerability in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing permissi
Stored XSS in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing privileges to inject m
Reflected cross-site scripting in the MediaWiki Cargo extension before 1.46.1 lets remote attackers inject script into a
Cross-site scripting (XSS) vulnerability in Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to
Stored cross-site scripting in the MediaWiki Cargo extension through version 3.9.4 lets an authenticated user with conte
EUVD-2026-40901
GHSA-r23x-87q7-xq2f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB