Skip to main content

Mediawiki Cargo Extension EUVDEUVD-2026-19929

| CVE-2026-39840 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-07 wikimedia-foundation GHSA-8m8x-w498-p4wx
5.1
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 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.

Impact

The real-world risk of this vulnerability is moderate but not critical. The CVSS score of 5.1 reflects limited impact (no confidentiality loss, only session-level integrity and scope changes), and the requirement for authenticated access plus user interaction significantly reduces exploitability in practice. The EPSS value is not provided in the input data, preventing probabilistic exploitation assessment; however, the attack vector (network), low complexity, and lack of special privileges suggest straightforward attack mechanics once an attacker gains wiki account access. The absence of KEV status and public exploit code indicates this is not currently under active exploitation. For Mediawiki instances with restricted editor access and user trust models, this represents a lower priority; however, public wikis with open registration should prioritize patching to prevent malicious editor accounts from defacing content or stealing session cookies.

Exploit ScenarioDerived

An authenticated editor on a public Mediawiki instance crafts a malicious template argument or page element containing JavaScript payload designed to execute within non-script contexts-for example, embedding event handlers in HTML attributes. When a victim with appropriate permissions views or edits the affected page, the injected script executes in their browser session, potentially capturing their session tokens or performing actions on their behalf. The exploit requires the attacker to already possess editor privileges and the victim to interact with the compromised page, making opportunistic attacks less likely but insider or privilege-escalation scenarios plausible.

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

Cross-site scripting (XSS) vulnerability in Mediawiki Cargo Extension before version 3.8.7 allows authenticated users to inject malicious scripts into non-script page elements through improper input neutralization. The vulnerability requires user interaction (UI:P) and has limited scope impact, affecting only the confidentiality and integrity of session data. No public exploit code or active exploitation has been identified at the time of analysis.

RemediationAI

Vendor-released patch: Upgrade Mediawiki Cargo Extension to version 3.8.7 or later. The fix is available via the Wikimedia Gerrit repository (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cargo/+/1237966) and the associated task tracker (https://phabricator.wikimedia.org/T416368). Sites running self-hosted Mediawiki instances should update the Cargo Extension through their extension management system. No workarounds are documented; patching is the definitive mitigation. Administrators should also review user-created templates and stored data for any evidence of malicious injection prior to upgrading.

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

This vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic cross-site scripting flaw where user-supplied input is not properly sanitized before being reflected in HTML output. The Cargo Extension for Mediawiki processes template arguments and page data; the vulnerability specifically targets non-script HTML elements, meaning the XSS payload is injected through element attributes or content rather than script tags. The CVSS 4.0 vector indicates this is a network-accessible vulnerability requiring prior authentication (PR:L) and user interaction to trigger, with impact limited to changing displayed content and session integrity within the affected scope.

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 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/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
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
3.8.7
CVE Published
Apr 07, 2026 - 19:35 nvd
MEDIUM 5.1

DescriptionCVE.org

Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Wikimedia Foundation Mediawiki - Cargo Extension allows XSS Targeting Non-Script Elements.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

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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-39841 MEDIUM
6.3 Apr 07

Stored XSS vulnerability in Wikimedia Cargo Extension before 3.8.7 allows authenticated users with page editing permissi

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-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