Skip to main content

MediaWiki CVE-2026-58032

| EUVDEUVD-2026-41014 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-01 wikimedia-foundation GHSA-2pj3-wqpx-g8cm
5.3
CVSS 4.0 · Vendor: wikimedia-foundation
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious payload in wiki content or URL
  2. Delivery
    Victim visits attacker-influenced page
  3. Exploit
    Browser loads mediawiki.Api index.js
  4. Execution
    Unsanitized data injected into DOM
  5. Persist
    Malicious script executes in victim browser session
  6. Impact
    Limited 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
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 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

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

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

Vendor (wikimedia-foundation) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

Network-reachable with no privileges required, but victim interaction needed; only limited confidentiality impact with no integrity or availability effect, and no scope change.

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

Primary rating from Vendor (wikimedia-foundation).

CVSS VectorVendor: wikimedia-foundation

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
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 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

EPSS Score
0.4%
Top 65% exploitable
Prevalence
High
powers Wikipedia and thousands of enterprise and public wikis
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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.

SSVC AssessmentENISA

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

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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