Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious payload in wiki content or URL
-
DeliveryVictim visits attacker-influenced page
-
ExploitBrowser loads mediawiki.Api index.js
-
ExecutionUnsanitized data injected into DOM
-
PersistMalicious script executes in victim browser session
-
ImpactLimited data exfiltration or session abuse
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 | User interaction is required - a victim must visit or actively interact with an attacker-influenced page (UI:P per CVSS 4.0 vector). The attacker requires no authentication or privileges (PR:N). The flaw is in the JavaScript API client layer and requires that attacker-controlled or unvalidated data be processed by mediawiki.Api/index.js and rendered in a browser. Exploitation is limited by: (1) the need for a victim to interact with malicious content, precluding fully automated mass exploitation; (2) impact constrained to limited confidentiality exposure (VC:L) with no integrity or availability impact, suggesting partial data access rather than full account takeover in the common case. Public-facing wikis allowing anonymous content contributions present a higher realistic risk than private or read-only deployments. |
| Impact | The CVSS 4.0 score of 5.3 (Medium) accurately reflects the real-world risk profile: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), but critically gated by user interaction (UI:P), with only limited confidentiality impact (VC:L) and no integrity or availability impact. The user-interaction requirement prevents fully automated, opportunistic exploitation and is the primary limiting factor. There is no CISA KEV listing and no known public exploit, reinforcing that this is not a current emergency. However, MediaWiki's role as the platform powering Wikipedia and thousands of public wikis - where anonymous users can craft content - creates a realistic social-engineering or watering-hole attack surface. EPSS data is absent from the available intelligence; defenders should treat this as a medium-priority patch within a normal patch cycle, with elevated urgency for open-edit public wikis. No conflicting signals between CVSS and description are present. |
| Exploit ScenarioDerived | An attacker submits crafted wiki content or constructs a URL that causes mediawiki.Api/index.js to process unsanitized input and write it into the page DOM. When a victim user visits or interacts with the attacker-influenced page - such as clicking a link shared in a talk page or external site - the injected script executes in their browser session, potentially exfiltrating session tokens or performing API actions under the victim's identity. No exploit code is publicly available at time of analysis, but the attack pattern is well-understood for CWE-79 class vulnerabilities. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Cross-site scripting in MediaWiki's JavaScript API client layer (resources/src/mediawiki.Api/index.js) allows network-accessible, unauthenticated attackers to inject malicious scripts that execute in a victim's browser upon user interaction. All MediaWiki deployments prior to versions 1.43.9, 1.44.6, 1.45.4, and 1.46.0 are affected, covering a broad range of wiki installations worldwide. No public exploit code or active exploitation has been identified at time of analysis, but the low attack complexity and lack of authentication requirement elevate concern for public-facing deployments.
RemediationAI
Upgrade MediaWiki to one of the patched releases: 1.43.9, 1.44.6, 1.45.4, or 1.46.0, depending on the branch in use. The upstream fix is tracked at https://phabricator.wikimedia.org/T426867 and should be consulted for patch details and any deployment notes. Operators on unsupported or end-of-life MediaWiki branches should prioritize migration to a supported branch before applying the fix. As a compensating control, deploying a strict Content Security Policy (CSP) header that disallows inline script execution can reduce XSS exploitability, though this may conflict with MediaWiki's own JavaScript extensions and gadgets and requires careful testing in a staging environment before production rollout. Restricting anonymous or low-trust user edit permissions on sensitive wiki namespaces reduces the attack surface for content-injection vectors.
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 vulnerable component is resources/src/mediawiki.Api/index.js, the core JavaScript API client used by MediaWiki's frontend to communicate with the MediaWiki REST/action API. MediaWiki is a PHP-based wiki platform (CPE: cpe:2.3:a:wikimedia_foundation:mediawiki) whose JavaScript layer relies on the mw.Api object extensively for dynamic content rendering, search, editing, and page interactions. The root cause class is CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating that data flowing through the API client - whether attacker-supplied input or unvalidated API responses - is written into the DOM without adequate sanitization or escaping, enabling script injection in the browser context of any user who interacts with affected content.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable with no privileges required, but victim interaction needed; only limited confidentiality impact with no integrity or availability effect, and no scope change.
Primary rating from Vendor (wikimedia-foundation).
CVSS VectorVendor: wikimedia-foundation
Lifecycle Timeline
1DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki.
This vulnerability is associated with program files resources/src/mediawiki.Api/index.Js.
This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
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.
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
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
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
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
EUVD-2026-41014
GHSA-2pj3-wqpx-g8cm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB