
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-61638 is a Cross-Site Scripting (XSS) vulnerability in Wikimedia Foundation MediaWiki and Parsoid, caused by improper neutralization of input during web page generation. The flaw resides in the sanitizer components (includes/parser/Sanitizer.php in MediaWiki and src/Core/Sanitizer.php in Parsoid). Affected versions include MediaWiki before 1.39.14, 1.43.4, and 1.44.1, and Parsoid before 0.16.6, 0.20.4, and 0.21.1. The vulnerability was published on February 3, 2026, and carries a CVSS v3.1 base score of 4.8 (Medium) (Red Hat Bugzilla, Red Hat Advisory).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting), specifically within the Sanitizer.php files used by both MediaWiki and Parsoid to process and sanitize user-supplied wiki markup and HTML attributes. An attacker with high privileges (e.g., a wiki editor) can craft malicious input that bypasses the sanitizer's attribute validation logic, injecting JavaScript that executes in the browsers of users who view the affected page. Exploitation requires user interaction (a victim must load the page containing the injected payload) and the scope is changed, meaning the injected script executes in the context of the victim's browser session on the wiki domain. A proof-of-concept exploit has been published on GitHub (PoC GitHub, Infinitsec Blog).
Successful exploitation allows an attacker to inject and execute arbitrary JavaScript in the browsers of users visiting affected wiki pages, enabling session hijacking, credential theft, malware distribution, or defacement of wiki content. The changed scope means the impact extends beyond the attacker's own session to any user who views the compromised page. Confidentiality and integrity are both partially impacted (low), while availability is not directly affected (Red Hat Advisory, Red Hat Bugzilla).
A proof-of-concept exploit is publicly available on GitHub (PoC GitHub), added to Feedly's exploit tracking on March 2, 2026. There is no confirmed evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.017% (0.000170), indicating a currently low probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection plugins are available from Nessus (IDs 269511, 272096, 279440) and Qualys (ID 6271328) (Red Hat Advisory).
Special:Version page or HTTP response headers.data-* attribute or similar) that bypasses the Sanitizer::validateAttributes() function in Sanitizer.php, embedding a JavaScript payload such as <tag data-x="javascript:alert(document.cookie)">.index.php?action=submit or API edit endpoints containing unusual data-* attributes or encoded JavaScript strings in page content fields; MediaWiki revision history entries with suspicious HTML attribute patterns in recently edited pages.javascript:, onerror=, onload=) that survived sanitization.data-* or other attribute values containing script content (Red Hat Advisory, Infinitsec Blog).Wikimedia Foundation has released patched versions addressing this vulnerability. Administrators should upgrade to MediaWiki 1.39.14, 1.43.4, or 1.44.1 (or later), and Parsoid 0.16.6, 0.20.4, or 0.21.1 (or later). As interim mitigations, restrict wiki editing permissions to trusted users only, implement Content Security Policy (CSP) headers to limit the impact of any successful XSS, and monitor wiki revision histories for suspicious attribute injection. Debian LTS and Mageia have also released updated packages for their respective distributions (Red Hat Bugzilla, Debian LTS, Debian Security).
A technical blog post by a MediaWiki developer (bawolff.net) discussed the XSS protector's effectiveness in the context of this and related vulnerabilities, providing community insight into the sanitizer's design limitations (bawolff Blog). Debian issued both an LTS advisory (DLA-4355-1) and a security announcement (DSA-6085-1) for MediaWiki, and Mageia published MGASA-2025-0260, reflecting broad downstream distribution response. No significant social media controversy or major vendor statements beyond standard patch advisories have been observed.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."