Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege wiki editor
-
DeliveryInject XSS payload via API, log reason, or page content
-
ExploitPayload stored in MediaWiki database
-
ExecutionVictim user loads affected page or log entry
-
PersistMalicious script executes in victim browser
-
ImpactSteal session token or 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 a low-privileged authenticated account on the target MediaWiki installation (consistent with CVSS PR:L). The attacker must have sufficient access to submit content processed by one of the five vulnerable files: editing wiki pages (PageDisplayHookHandler), submitting permission change requests with reasons (PermissionChangeLogFormatter in CentralAuth), or interacting with API formatting or ResourceLoader-served content paths. A victim user must subsequently load the page, log entry, or API output containing the injected payload - stored XSS in log formatters and page display hooks requires a second user to view the affected output. Exploitation is limited by: the requirement for an existing authenticated account (open registration lowers this bar), the need for a victim to load the injected content, and the scope being browser-side rather than server-side code execution. Wikis with CentralAuth installed are additionally exposed through the cross-wiki SSO log formatter pathway. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N) contains a critical inconsistency: all impact metrics are set to None, which is incompatible with any meaningful XSS vulnerability. This vector likely represents an incomplete or placeholder NVD entry and should NOT be used for prioritization decisions. The PR:L assignment aligns with a stored-XSS pattern where a logged-in wiki editor or admin injects content that is later rendered to other users; however UI:N is inconsistent with XSS mechanics where a victim must load a page to trigger execution. No EPSS score is present in the provided data, no CISA KEV listing exists, and no POC has been identified - all suggesting low near-term automated exploitation risk. Real-world risk is moderate: successful exploitation enables session hijacking, credential theft, or defacement against any user viewing affected wiki pages or API output. In wikis with open registration or many editors, the authenticated-attacker bar is low. Wiki installations with anonymous editing enabled could face an even lower barrier depending on exact injection points. The five-file scope across both core MediaWiki and the CentralAuth SSO extension amplifies the potential impact, as XSS in CentralAuth could affect cross-wiki sessions. |
| Exploit ScenarioDerived | An authenticated wiki editor with standard editing privileges submits a wiki page, permission change reason, or API-formatted content containing a crafted JavaScript payload that is not properly escaped by one of the five affected rendering paths - for example, a maliciously formatted group-change reason in CentralAuth's PermissionChangeLogFormatter. When a wiki administrator or another logged-in user navigates to the log page or API help endpoint, the payload executes in their browser session, potentially stealing session cookies or performing authenticated actions on their behalf. No public exploit code has been identified at time of analysis, but the attack mechanics are well-understood for CWE-79 and do not require specialized tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Cross-site scripting in Wikimedia Foundation MediaWiki and the CentralAuth extension allows authenticated low-privileged users to inject malicious scripts into rendered wiki pages or API output through unsanitized input in API formatting, ResourceLoader module handling, page display hooks, and permission change log formatting. Affected versions span all releases of both products prior to the 1.46.0, 1.45.4, 1.44.6, and 1.43.9 patch series. No public exploit code or CISA KEV listing has been identified at time of analysis, though the five affected PHP files suggest a broad attack surface across core MediaWiki subsystems.
RemediationAI
Upgrade MediaWiki and the CentralAuth extension to one of the patched releases: 1.43.9, 1.44.6, 1.45.4, or 1.46.0 - select the branch matching your current deployment series. The fix details can be tracked via the upstream Phabricator task at https://phabricator.wikimedia.org/T422306. If an immediate upgrade is not feasible, restrict wiki editing permissions to trusted users only to raise the effective attacker privilege bar, as the CVSS PR:L signal indicates the injection requires an authenticated editor role. Disabling open user registration or placing the wiki behind authentication reduces the pool of potential injectors. Disabling or restricting API access (especially the ApiHelp endpoint) for anonymous or untrusted users can reduce one identified attack surface. Note that restricting the ResourceLoader or PageDisplayHookHandler pathways is not practical without disabling core wiki functionality. Apply the upgrade as the primary remediation - compensating controls do not fully neutralize a stored-XSS risk where admin-level users are also potential victims.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages 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 a PHP-based wiki engine (CPE: cpe:2.3:a:wikimedia_foundation:mediawiki:*:*:*:*:*:*:*:*) powering Wikipedia and thousands of additional wikis. CentralAuth (CPE: cpe:2.3:a:wikimedia_foundation:centralauth:*:*:*:*:*:*:*:*) is a MediaWiki extension providing cross-wiki single sign-on. The vulnerability class is CWE-79 (Improper Neutralization of Input During Web Page Generation), meaning attacker-controlled input reaches HTML output without proper encoding or escaping. The five identified PHP files span distinct subsystems: ApiFormatBase.php and ApiHelp.php govern API response formatting and inline API documentation rendering; Module.php is part of the ResourceLoader system that serves JavaScript and CSS bundles; PageDisplayHookHandler.php hooks into the page rendering pipeline; and PermissionChangeLogFormatter.php (in CentralAuth) formats log entries for permission changes - a location frequently involving user-supplied content such as group names or reasons. XSS in a MediaWiki API or log context is typically stored (persisted in the database and rendered to any viewer) rather than reflected, given the nature of these subsystems.
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:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N
Network-delivered stored XSS requiring authenticated editor (PR:L), victim page load (UI:R), scope change to browser (S:C), with low confidentiality and integrity impact.
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, Wikimedia Foundation CentralAuth.
This vulnerability is associated with program files includes/Api/ApiFormatBase.Php, includes/Api/ApiHelp.Php, includes/ResourceLoader/Module.Php, includes/Hooks/Handlers/PageDisplayHookHandler.Php, includes/LogFormatter/PermissionChangeLogFormatter.Php.
This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9; CentralAuth: 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
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-41029
GHSA-jqc3-4vrw-8965
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB