Skip to main content

MediaWiki Cargo CVE-2026-96878

| EUVDEUVD-2026-87319 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
    Craft malicious URL with XSS payload in Cargo parameter
  2. Delivery
    Deliver link to logged-in wiki user
  3. Exploit
    Victim opens link, payload reflected into page
  4. Execution
    Script executes in wiki origin
  5. Impact
    Steal session/perform actions 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 an attacker to deliver a crafted URL against a MediaWiki installation that has the Cargo extension (version through 3.9.4) installed and enabled, and a victim must open that link in an authenticated browser session for the reflected payload to gain meaningful context (script executes in the wiki origin). Limiting factors: Cargo is an optional extension not present on all wikis; the attack is reflected (not persistent), so it depends on social engineering the victim into clicking the link - contrary to the vendor's UI:N metric, real-world exploitation needs user interaction. Impact is confined to the victim's browser session within the wiki's origin, not the server host.

Impact

This is a reflected cross-site scripting (CWE-79) flaw in the MediaWiki Cargo extension through version 3.9.4, carrying a vendor-assigned CVSS 4.0 base score of 6.9 (Medium). The vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L indicates network-reachable, low-complexity, unauthenticated exploitation with low confidentiality impact on both the vulnerable and a subsequent system. A notable internal inconsistency exists: the vendor scored UI:N (no user interaction), yet reflected XSS by definition requires a victim to load or click an attacker-crafted URL - this should realistically be UI:P/Active, which somewhat inflates the raw score. No EPSS probability is supplied, there is no CISA KEV listing, no SSVC decision data, and no public exploit code is referenced (the sole reference is a Wikimedia Phabricator tracking task, T434784). Exploitation status: no public exploit identified at time of analysis. On balance this is a real but moderate-priority issue - a genuine reflected XSS that requires social-engineering a victim (typically an authenticated wiki editor/admin) into clicking a crafted link, not a wormable or automatable unauthenticated compromise. Impact is limited to session-scoped script execution (confidentiality-oriented, low), not host compromise.

Exploit ScenarioDerived

An attacker crafts a malicious URL targeting a vulnerable Cargo extension endpoint (e.g. a query/format parameter) that reflects unsanitized input into the generated wiki page, then lures a logged-in wiki user or administrator into clicking it. When the victim's browser renders the reflected payload, attacker-controlled JavaScript executes in the wiki's origin, enabling session token theft, CSRF-style edits, or account actions in the victim's context. No public exploit code has been identified, and successful exploitation depends on the victim opening the crafted link.

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 (versions through 3.9.4) lets remote, unauthenticated attackers execute arbitrary script in the origin of an affected wiki by convincing a victim to open a crafted URL while logged in. The defect is a CWE-79 improper-neutralization issue that the vendor rates 6.9 (Medium) under CVSS 4.0, whereas the independent assessment applies CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, explicitly requiring victim user interaction that the vendor vector omits; impact is confined to the victim's browser session within the wiki's origin rather than the server host. No public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis, and exposure is limited to the subset of wikis where this optional extension is installed and enabled.

RemediationAI

No vendor-released patch was identified at time of analysis, so the concrete first step is to monitor the upstream Wikimedia Phabricator task T434784 (https://phabricator.wikimedia.org/T434784) and apply a fixed Cargo release as soon as one is published; if Cargo is not operationally required, disabling and uninstalling the extension removes the vulnerable code path entirely at the cost of losing its structured-data query features. If the extension must remain active, deploy a web application firewall or reverse-proxy rule set that inspects request query strings and rejects script/HTML payload patterns, accepting that such signature filtering is brittle and may cause false positives on legitimate Cargo query syntax; alternatively, restrict access to Cargo-enabled pages to trusted networks or authenticated groups, which reduces the attacker's reachable audience but is impractical for public wikis. A strict Content-Security-Policy that disallows inline script can blunt execution of reflected payloads, with the trade-off that it frequently breaks wiki gadgets, skins, and extensions that rely on inline JavaScript, and enforcing HttpOnly/SameSite cookie flags limits session-token theft from a successful payload without preventing the script from running. No exact patched version number can be cited from the available data, and no claim is made that a fix does not exist.

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

MediaWiki is the PHP-based wiki platform, and Cargo is an optional extension that stores structured, template-invoked data in database tables and exposes it back through parser functions and query interfaces. The reported flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the reflected variant: input supplied in a request - most plausibly a query-string parameter consumed by a Cargo query or display path - is echoed into a generated HTML page without adequate contextual escaping, so the browser parses attacker-controlled markup as script in the wiki's origin. Because the payload is reflected rather than stored, it does not persist in wiki content and requires the victim to follow a link, which is why the independent assessment sets UI:R even though the vendor's CVSS 4.0 vector lists UI:N. The CPE entry cpe:2.3:a:the_wikimedia_foundation:mediawiki_-_cargo_extension:*:*:*:*:*:*:*:* records the extension as the affected component with an unbounded version range, consistent with the statement that all releases through 3.9.4 are impacted; the Wikimedia Phabricator task T434784 is the upstream tracking record for the defect.

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 open a crafted link (UI:R); script runs in the browser origin (S:C) with low confidentiality/integrity impact and no availability effect.

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:L/SI:L/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
Popular MediaWiki data extension, common on wikis but not universally installed
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