Skip to main content

MediaWiki Cargo EUVDEUVD-2026-87313

| CVE-2026-96876 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-25 wikimedia-foundation
6.9
CVSS 4.0 · Vendor: wikimedia-foundation
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify reflected parameter in Cargo extension
  2. Delivery
    Craft URL with XSS payload
  3. Exploit
    Deliver link to wiki user
  4. Execution
    Victim opens link on wiki
  5. Persist
    Script executes in victim browser session
  6. Impact
    Steal session data 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 a victim user of a wiki running the MediaWiki Cargo extension at or below version 3.9.4 to open an attacker-crafted URL that reflects unsanitized input into a page. No authentication is required of the attacker (PR:N), but successful attack depends on social-engineering the victim into following the malicious link (reflected XSS inherently needs victim interaction, despite the input vector listing UI:N). Impact is confined to the victim's browser session on the affected wiki; the vulnerable Cargo query/reporting functionality must be enabled (Cargo is a non-core, separately installed extension), which limits exposure to wikis that deploy it.

Impact

This is a reflected cross-site scripting (CWE-79) flaw in the MediaWiki Cargo extension through version 3.9.4, reported by the Wikimedia Foundation. The provided CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L) yields 6.9 (medium), signaling network-reachable, unauthenticated, low-complexity attack with low confidentiality impact on both the vulnerable and a subsequent system. However, the UI:N (no user interaction) rating conflicts with the vulnerability class: reflected XSS by definition requires a victim to follow an attacker-crafted request/link, so user interaction should realistically be Passive - verify this discrepancy, as it inflates the score. No EPSS score, no CISA KEV listing, and no public exploit code are present in the supplied intelligence; the only reference is an internal Wikimedia Phabricator task (T435121), consistent with a coordinated vendor-side fix rather than active exploitation. There is no SSVC decision data. Net assessment: a legitimate but moderate client-side flaw whose real-world priority is limited by the need to lure a victim into clicking a crafted link and by the low, session-scoped impact - not a mass-exploitation or high-urgency issue.

Exploit ScenarioDerived

An attacker crafts a malicious URL targeting a vulnerable Cargo extension endpoint (e.g., a query/results parameter reflected without neutralization) and delivers it to a wiki user via phishing, chat, or a planted link. When the victim opens the link on the affected wiki, attacker-controlled JavaScript executes in their browser session, enabling session/token theft or actions in the victim's context. No public proof-of-concept is identified in the available data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 25, 2026

Reflected cross-site scripting in the MediaWiki Cargo extension, affecting all versions through 3.9.4, allows an unauthenticated attacker to inject script that executes in the browser of any wiki user who follows a crafted link. Per the assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), exploitation requires victim interaction - the target must open the malicious URL - and impact is limited to the victim's session on the affected wiki, with the scope change reflecting that the injected content can affect resources beyond the vulnerable component. No public exploit code has been identified and there is no CISA KEV entry: no public exploit identified at time of analysis. Exposure is confined to wikis that have installed and enabled Cargo, a non-core, separately deployed extension, and the Cargo query/reporting functionality must be reachable.

RemediationAI

No vendor-released patch identified at time of analysis, and no fixed version is specified in the available data; the Phabricator task T435121 (https://phabricator.wikimedia.org/T435121) is the tracking record to monitor for the corrective commit and any tagged release. Until a patched Cargo build beyond 3.9.4 is confirmed available, the most effective mitigation is to disable or uninstall the Cargo extension on wikis that do not depend on it - the trade-off being loss of structured-data storage and query/reporting pages, which is why this is only practical for wikis not actively using Cargo. For wikis that must keep Cargo enabled, restrict access to the Cargo query/reporting interface at the web-server layer (for example, require authentication or limit to trusted networks) so that untrusted visitors cannot reach the reflecting parameter; this reduces exposure but will also break legitimate public-facing query pages. Adding a reverse-proxy or WAF rule that rejects requests whose Cargo parameters contain angle brackets, script keywords, or encoded HTML metacharacters provides a defense-in-depth layer, though it is bypass-prone and must not be treated as a substitute for the upstream fix. Because exploitation is reflected XSS requiring the victim to follow a crafted link, tightening Content-Security-Policy headers on the wiki (script-src without unsafe-inline and with nonce/hash-based allows) and verifying that session cookies are set HttpOnly and SameSite can materially blunt script execution and session theft, at the cost of requiring MediaWiki extension and skin compatibility with strict CSP. Deploying the fix across all affected wikis should be prioritized once released, since any user who can be socially engineered into clicking a crafted link is a viable target.

Affected VersionsENISA

Mediawiki - Cargo Extension 0 ≤3.9.4

Affected Packages

euvd mediawiki_cargo_extension no fix

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 flaw is CWE-79, improper neutralization of input during web page generation, in the MediaWiki Cargo extension (CPE cpe:2.3:a:the_wikimedia_foundation:mediawiki_-_cargo_extension, wildcarded across versions). Cargo is a third-party MediaWiki extension that adds structured-data storage and query/reporting capabilities, letting wiki editors define tables, store field data, and embed query results into wiki pages. The vulnerability class arises because a parameter accepted by a Cargo-backed page or query endpoint is reflected back into the generated HTML without adequate output encoding, so an attacker-supplied payload is parsed as markup and script rather than inert text. Because the injection is reflected rather than stored, the attacker does not need any account or privileges on the wiki (the CVSS 4.0 vector supplied lists PR:N) - they only need to deliver a crafted URL to a logged-in or anonymous wiki visitor and rely on that visitor's browser to render the response in the origin of the wiki. The conflicting UI:N entry in the CVSS 4.0 vector is not consistent with the mechanics of reflected XSS; the independent assessment correctly treats this as requiring victim interaction (UI:R). Successful execution runs in the context of the wiki's origin, allowing theft of session cookies or CSRF tokens, redirection of the victim, or actions performed with the victim's wiki privileges; the scope-changed rating captures that the script executes against the site rather than only leaking the reflected value.

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

Vendor (wikimedia-foundation) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Reflected XSS is network-reachable and unauthenticated but requires the victim to click a crafted link (UI:R); script runs in the browser context crossing a trust boundary (S:C) with limited session confidentiality/integrity impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (wikimedia-foundation).

CVSS VectorVendor: wikimedia-foundation

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

DescriptionCVE.org

Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Mediawiki - Cargo extension allows Reflected XSS.

This issue affects Mediawiki - Cargo extension: through 3.9.4.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
Cargo is a popular structured-data extension but installed on a subset of MediaWiki wikis
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.3%
Patch available No
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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-2014-1610 MEDIUM POC
6.0 Jan 30

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

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

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

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

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