Skip to main content

MediaWiki CVE-2026-58037

| EUVDEUVD-2026-41042 NONE
Cross-site Scripting (XSS) (CWE-79)
2026-07-01 wikimedia-foundation GHSA-c9c4-xmc2-5h6x
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege MediaWiki account
  2. Delivery
    Perform logged action with XSS payload in parameter (username, reason, or tag)
  3. Exploit
    Payload stored in log entry via affected formatter
  4. Execution
    Victim (admin/patroller) views Special:Log or Special:Version
  5. Persist
    Unsanitized payload renders in victim's browser
  6. Impact
    Arbitrary 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.

Awaiting Data No severity or threat signals available yet. Label will update when CVSS score is published or threat intelligence arrives.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

mediawiki * <1.46.0, 1.45.4, 1.44.6, 1.43.9

Affected Packages

euvd mediawiki_1_46_0_1_45_4_1_44_6 no fix

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

Vendor (wikimedia-foundation) PRIMARY 0.0 NONE
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
vuln.today AI 5.4 MEDIUM

Low-privilege account required to inject payload; victim must actively view log page; scope changes to victim browser with limited session/content impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wikimedia-foundation).

CVSS VectorVendor: wikimedia-foundation

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 17:01 EUVD

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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
powers Wikipedia and thousands of community/enterprise wikis
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 NONE
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
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.
Awaiting Data No severity or threat signals available yet. Label will update when CVSS score is published or threat intelligence arrives.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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-2014-1610 MEDIUM POC
6.0 Jan 30

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

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

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

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy