CVE-2026-132737 in MediaWikiinfo

Summary

by MITRE • 11/25/2026

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki - BetaFeatures Extension. This vulnerability is associated with program files includes/HTMLFeatureField.php. This issue affects MediaWiki - BetaFeatures Extension: 1.43, 1.45, 1.46.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/25/2026

The identified security flaw represents a classic instance of Cross-Site Scripting within the Wikimedia Foundation's MediaWiki platform, specifically targeting the BetaFeatures extension in versions 1.43 through 1.46. This vulnerability stems from an improper neutralization of user-supplied input during web page generation, as documented under CWE-79. The root cause lies within the includes/HTMLFeatureField.php program file, which fails to adequately sanitize or encode data before rendering it in a browser context. When malicious actors inject specially crafted scripts into fields managed by this extension, the MediaWiki server processes these inputs without sufficient validation, allowing arbitrary JavaScript code to execute in the victim's web browser upon page load.

From an operational perspective, this vulnerability poses significant risks to both end-users and system administrators who interact with the BetaFeatures interface. Successful exploitation allows attackers to bypass same-origin policies, potentially leading to session hijacking where attacker-controlled scripts can steal authentication cookies or tokens associated with active user sessions. Furthermore, it enables credential theft by presenting fake login forms that mimic legitimate MediaWiki interfaces, as well as defacement of the web application's visual presentation. In more advanced attack scenarios, the vulnerability could be leveraged for keylogging activities to capture sensitive keystrokes entered into the platform, thereby compromising confidential information stored or processed within the wiki environment.

The technical execution typically involves an attacker identifying a parameter controlled by HTMLFeatureField.php that is reflected in the HTTP response without proper encoding. By injecting script tags or event handlers such as onerror or onload attributes containing malicious payloads, the attacker ensures that when another user views the affected page, their browser interprets and executes the embedded code. This aligns with MITRE ATT&CK technique T1059.007, which covers JavaScript execution in web browsers, a common vector for client-side attacks against web applications lacking robust input validation mechanisms.

To mitigate this vulnerability, immediate patching is required by upgrading the MediaWiki installation and its BetaFeatures extension to versions that include fixes for this specific issue. Administrators should also implement strict Content Security Policy headers to restrict script execution sources, thereby limiting the impact of any successful injection attempts even if sanitization fails temporarily. Additionally, deploying Web Application Firewalls with rules specifically tuned to detect XSS payloads can provide an additional layer of defense by blocking malicious requests before they reach the application logic. Regular security audits and code reviews focusing on input handling in PHP files like HTMLFeatureField.php are essential to prevent similar flaws from persisting or emerging in future updates.

Reservation

11/18/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00458

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!