CVE-2026-132708 in MediaWikiinfo

Summary

by MITRE • 11/25/2026

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Wikimedia Foundation mediawiki/services/parsoid. This vulnerability is associated with program files wikimedia/parsoid/src/Core/Sanitizer.php. This issue affects mediawiki/services/parsoid: from 1.43.0 before 1.43.12, from 1.45.0 before 1.45.7, from 1.46.0 before 1.46.3, 1.47.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified as Improper Neutralization of Input During Web Page Generation, commonly known as Cross-site Scripting or XSS, resides within the Parsoid service utilized by the Wikimedia Foundation for rendering MediaWiki content into HTML and other formats. This specific flaw is located in the source file Sanitizer.php, which serves a critical role in processing and sanitizing input data before it is rendered to end users. The affected versions span multiple release branches of mediawiki/services/parsoid, specifically impacting releases from 1.43.0 up to but not including 1.43.12, from 1.45.0 up to but not including 1.45.7, and from 1.46.0 up to but not including 1.46.3, as well as version 1.47. This wide range of affected versions indicates a systemic issue in the sanitization logic that persisted across significant development cycles until recent patches were applied.

From a technical perspective, this vulnerability represents a classic case where user-supplied input is not adequately validated or encoded before being included in web pages generated by Parsoid. When an attacker injects malicious script code into fields processed by the sanitizer, the application fails to neutralize these inputs effectively. Consequently, when the resulting HTML is served to a victim's browser, the embedded scripts execute within the context of the website. This execution occurs under the same origin policy as the vulnerable site, allowing the injected JavaScript to access cookies, session tokens, and other sensitive data stored locally by the browser. The flaw essentially bypasses expected security controls designed to prevent script injection, highlighting a gap in the input validation pipeline that should have stripped or escaped dangerous characters such as angle brackets, quotes, and event handlers.

The operational impact of this vulnerability is significant for both end users and site administrators. For regular visitors, successful exploitation could lead to session hijacking, where an attacker steals authentication cookies to impersonate a legitimate user. This can result in unauthorized access to personal accounts, modification of content, or defacement of pages depending on the privileges held by the compromised account. In more severe scenarios involving administrative users, attackers could gain full control over wiki instances, potentially leading to data exfiltration, malware distribution to other visitors via drive-by downloads, or persistent backdoors within the site's infrastructure. The trust model inherent in web applications means that any compromise of client-side execution can undermine the integrity and confidentiality of the entire platform, eroding user confidence and exposing sensitive organizational information stored on Wikimedia-hosted wikis.

This vulnerability aligns with CWE-79, which classifies Improper Neutralization of Input During Web Page Generation as a critical weakness in web application security frameworks. It also maps to MITRE ATT&CK technique T1059, specifically the execution of JavaScript through browser-based mechanisms, and potentially T1189 for Drive-by Client Execution if malicious payloads are delivered via compromised links or embedded media. The persistence across multiple major versions suggests that while basic sanitization was present, edge cases involving complex input patterns were not fully addressed in earlier iterations of the codebase. Remediation requires immediate upgrading to patched versions such as 1.43.12, 1.45.7, 1.46.3, or later stable releases that incorporate comprehensive fixes for the Sanitizer.php module. Additionally, implementing Content Security Policy headers can provide an additional layer of defense by restricting script execution sources, thereby mitigating the impact even if similar vulnerabilities are discovered in future updates. Regular security audits and static code analysis focused on input handling routines are recommended to prevent recurrence of such injection flaws across all components interacting with user-generated content.

Reservation

11/18/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00591

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!