Skip to main content

MediaWiki EUVDEUVD-2026-41029

| CVE-2026-58028 NONE
Cross-site Scripting (XSS) (CWE-79)
2026-07-01 wikimedia-foundation GHSA-jqc3-4vrw-8965
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege wiki editor
  2. Delivery
    Inject XSS payload via API, log reason, or page content
  3. Exploit
    Payload stored in MediaWiki database
  4. Execution
    Victim user loads affected page or log entry
  5. Persist
    Malicious script executes in victim browser
  6. Impact
    Steal 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.

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

mediawiki * <1.46.0, 1.45.4, 1.44.6, 1.43.9
CentralAuth * <1.46.0, 1.45.4, 1.44.6, 1.43.9

Affected Packages

euvd centralauth_1_46_0_1_45_4_1_44_6 no fix
euvd mediawiki_1_46_0_1_45_4_1_44_6 no fix

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

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

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.

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:P/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
None
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, 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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
powers Wikipedia and thousands of enterprise and academic wikis globally
Social Media
1
Sightings
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
High
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