Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege MediaWiki account
-
DeliveryPerform logged action with XSS payload in parameter (username, reason, or tag)
-
ExploitPayload stored in log entry via affected formatter
-
ExecutionVictim (admin/patroller) views Special:Log or Special:Version
-
PersistUnsanitized payload renders in victim's browser
-
ImpactArbitrary JavaScript executes in victim session
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 valid MediaWiki account with at least low-level privileges sufficient to perform actions that are recorded by the affected log formatters (block, patrol, tag, rename-user) or to influence content displayed on Special:Version. A second user (the victim) must actively navigate to and view the affected log page or special page in their browser (UI:A per CVSS 4.0 vector). Exploitation is limited by: (1) the need for an authenticated attacker account (PR:L), (2) active victim interaction - passive page loads in background tabs would suffice but the victim must load the page, (3) the victim being a user who can access log pages, which on many wikis is restricted to registered users or patrollers. There is no indication of a default-configuration unauthenticated exploitation path. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N) presents a notable inconsistency: all confidentiality, integrity, and availability metrics - for both the vulnerable system and subsequent systems - are scored as None, which is atypical for a CWE-79 XSS that exploits a victim's browser session. This may reflect a deliberately conservative or placeholder scoring by the reporter, or may indicate a very narrow exploitability path where JavaScript execution does not yield meaningful access to sensitive data. No EPSS score is available, no CISA KEV listing exists, and no public proof-of-concept has been identified, all pointing toward low current exploitation risk. The attack complexity is low and the network vector is confirmed, but the requirement for an authenticated low-privilege actor (PR:L) and active victim interaction (UI:A) meaningfully limits the attack surface compared to unauthenticated reflected XSS. The most realistic concern is privilege escalation through session hijacking if a privileged administrator views a tampered log entry, but this impact is not confirmed by the provided impact metrics. EPSS data is absent - exploitation probability cannot be quantified. |
| Exploit ScenarioDerived | An attacker with a low-privilege MediaWiki account performs an action that generates a log entry processed by one of the affected formatters - for example, triggering a tag change or block action with a crafted payload embedded in a username or reason field. When an administrator later views Special:Log or a related log page, the payload executes in their browser, potentially exfiltrating session cookies or performing privileged wiki actions on their behalf. No public proof-of-concept has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Cross-site scripting vulnerabilities across multiple log formatter and language components in MediaWiki allow authenticated low-privilege users to inject malicious JavaScript that executes in the browser of any user who views affected log pages or the SpecialVersion special page. The vulnerability spans seven PHP files covering block, patrol, rename-user, and tag log formatters, the base LogFormatter, the Language class, and SpecialVersion - indicating widespread unsanitized output rendering in administrative and logging interfaces. No public exploit code has been identified and the vulnerability is not listed in CISA KEV, but the breadth of affected components and the multiple concurrent fix branches (1.43.9, 1.44.6, 1.45.4, 1.46.0) signal a significant audit-driven remediation effort.
RemediationAI
Upgrade MediaWiki to one of the patched versions: 1.43.9, 1.44.6, 1.45.4, or 1.46.0, selecting the branch that matches the current deployment. The fix details are tracked at https://phabricator.wikimedia.org/T422995. For deployments that cannot patch immediately, a targeted compensating control is to restrict edit and log-generating permissions (block, patrol, tag, renameuser) to trusted users only, reducing the pool of accounts that could inject malicious log parameters. Additionally, consider restricting access to Special:Log and Special:Version to authenticated trusted users via MediaWiki's permission system ($wgGroupPermissions). Note that restricting log viewing only reduces exposure - it does not eliminate the underlying unsanitized output. No patch version has been independently verified beyond the NVD description data.
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
MediaWiki (CPE: cpe:2.3:a:wikimedia_foundation:mediawiki:*:*:*:*:*:*:*:*) is a PHP-based wiki platform powering Wikipedia and thousands of other wikis. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates that user-controlled input is reflected into HTML output without adequate encoding or escaping. The affected files are concentrated in the logging subsystem - BlockLogFormatter.php (block/unblock actions), PatrolLogFormatter.php (recent-changes patrol), RenameuserLogFormatter.php (account renames), TagLogFormatter.php (tag changes), and the base LogFormatter.php - alongside Language.php (message/i18n rendering) and SpecialVersion.php (software version display). This distribution suggests that log entry parameters such as usernames, page titles, tag names, or block reasons are being rendered into HTML without sanitization, and that some language message substitution or extension metadata displayed on Special:Version also contains an unsanitized output path.
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:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N
Low-privilege account required to inject payload; victim must actively view log page; scope changes to victim browser with limited session/content 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.
This vulnerability is associated with program files includes/Language/Language.Php, includes/Logging/BlockLogFormatter.Php, includes/Logging/LogFormatter.Php, includes/Logging/PatrolLogFormatter.Php, includes/Logging/RenameuserLogFormatter.Php, includes/Logging/TagLogFormatter.Php, includes/Specials/SpecialVersion.Php.
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
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-41042
GHSA-c9c4-xmc2-5h6x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB