CVE-2026-132707 in MediaWikiinfo

Summary

by MITRE • 11/25/2026

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki, MediaWiki - Translate Extension. This vulnerability is associated with program files includes/Output/OutputPage.php. This issue affects MediaWiki, MediaWiki - Translate Extension: 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.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified as Improper Neutralization of Input During Web Page Generation represents a critical security flaw within the Wikimedia Foundation's MediaWiki platform, specifically impacting the Translate Extension across multiple version branches including versions prior to 1.43.12, 1.45.7, and 1.46.3, as well as affecting version 1.47. This issue is rooted in the file includes/Output/OutputPage.php, which serves as a core component responsible for rendering web pages by processing various inputs and generating HTML output. The fundamental technical flaw lies in the insufficient sanitization or encoding of user-supplied data before it is embedded into dynamically generated content. When an attacker injects malicious script payloads through input fields that are processed by this module, the application fails to properly neutralize these characters, allowing them to execute within the context of a victim's browser session. This behavior aligns directly with Common Weakness Enumeration identifier CWE-79, which categorizes Cross-site Scripting as an improper validation or encoding of user-controllable input before inclusion in web pages.

From an operational perspective, this vulnerability poses significant risks to both end-users and the integrity of the wiki infrastructure. Successful exploitation allows attackers to execute arbitrary JavaScript code on behalf of authenticated users who view the compromised page. This can lead to session hijacking, where attackers steal authentication cookies or tokens to impersonate legitimate users. It also enables defacement of content, redirection to malicious sites for phishing attacks, and potential keylogging if the injected script monitors keystrokes. In collaborative environments like Wikimedia projects, such vulnerabilities undermine trust in the platform's security posture and can disrupt community activities by compromising user accounts or altering sensitive pages through unauthorized administrative actions facilitated via stolen credentials.

The attack vector typically involves crafting a URL with specially crafted parameters that trigger the vulnerable code path within OutputPage.php when rendering content for translation interfaces or other modules relying on this output handler. Since MediaWiki is widely used across thousands of wikis globally, including high-profile educational and informational sites, the potential blast radius is substantial. Attackers do not necessarily need to be authenticated to exploit reflected variants if input parameters are directly rendered without proper encoding, although stored XSS scenarios would require prior injection into database-stored content that later gets served to other users. The presence of this flaw in multiple major version lines indicates a systemic issue in how the Translate Extension integrates with the core output generation logic, highlighting gaps in automated security testing or code review processes for extension-specific input handling routines.

Mitigation strategies must prioritize immediate patching to the latest stable releases where these vulnerabilities have been addressed by upstream developers. Administrators should verify their MediaWiki version and apply updates corresponding to 1.43.12+, 1.45.7+, or 1.46.3+ depending on their current deployment branch, while ensuring that any custom extensions interacting with OutputPage.php are also reviewed for similar flaws. In addition to patching, implementing a Web Application Firewall can provide an additional layer of defense by filtering out known malicious payloads before they reach the application logic. Security headers such as Content-Security-Policy should be configured strictly to restrict script execution sources and mitigate the impact if XSS is successfully executed. Furthermore, developers must enforce strict output encoding using MediaWiki's built-in escaping functions like Html::encode or wfEscapeHtml instead of relying on raw variable insertion into HTML templates. Regular security audits focusing on input validation across all user-facing endpoints are essential to prevent recurrence of such CWE-79 violations and maintain the integrity of collaborative knowledge platforms.

Sources

Do you know our Splunk app?

Download it now for free!