CVE-2026-132713 in MediaWikiinfo

Summary

by MITRE • 11/25/2026

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki - VisualEditor Extension. This vulnerability is associated with program files extension.json, modules/ve-mw/dm/nodes/ve.dm.MWLanguageVariantNode.js, modules/ve-mw/ui/contextitems/ve.ui.MWLanguageVariantNodeContextItem.js, modules/ve-mw/ui/inspectors/ve.ui.MWLanguageVariantInspector.js. This issue affects MediaWiki - VisualEditor 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.

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 vulnerability represents a classic Cross-Site Scripting (XSS) flaw within the Wikimedia Foundation's MediaWiki VisualEditor extension, specifically impacting components responsible for handling language variant nodes and their associated user interface elements. This security issue is rooted in improper neutralization of input during web page generation, where untrusted data supplied by users or external sources is not adequately sanitized before being processed or rendered by the application. The vulnerability resides within several key JavaScript modules that manage the display model and user interface context for language variants, including ve.dm.MWLanguageVariantNode.js, ve.ui.MWLanguageVariantNodeContextItem.js, and ve.ui.MWLanguageVariantInspector.js. These components are integral to how editors interact with multilingual content structures within the VisualEditor environment. When an attacker crafts a malicious payload containing executable script code disguised as legitimate language variant data or metadata, the application fails to escape special characters such as angle brackets, quotes, or ampersands that have semantic meaning in HTML and JavaScript contexts. Consequently, this allows the injected scripts to execute in the context of the victim's browser session whenever the vulnerable component is rendered or interacted with.

From a technical perspective, the flaw stems from insufficient input validation and output encoding mechanisms within the specified modules. The VisualEditor extension relies heavily on dynamic DOM manipulation and client-side rendering logic. When processing language variant nodes, the system likely constructs HTML elements or JavaScript objects using user-supplied values without applying rigorous sanitization protocols defined by industry standards such as CWE-79, which categorizes improper neutralization of input during web page generation. The lack of proper encoding means that if an attacker can influence the content stored in a wiki page's language variant metadata, they can inject arbitrary JavaScript code. This execution occurs within the trusted domain of the MediaWiki instance, bypassing same-origin policy restrictions and granting the malicious script full access to cookies, session tokens, local storage, and other sensitive client-side data associated with that domain.

The operational impact of this vulnerability is significant for both end-users and system administrators. For authenticated editors or viewers who interact with pages containing the crafted language variant payloads, the immediate risk involves account hijacking through session cookie theft. An attacker could exfiltrate authentication tokens to impersonate legitimate users, potentially gaining unauthorized access to sensitive wiki content or administrative functions depending on the victim's privileges. Furthermore, the vulnerability enables phishing attacks where malicious scripts can redirect victims to fraudulent sites designed to steal credentials or spread malware via drive-by downloads. In environments with strict data integrity requirements, such as those maintained by Wikimedia Foundation, this also poses a risk of defacement and misinformation if attackers modify page content dynamically through client-side manipulation. The scope is limited to versions 1.43.0 up to but not including 1.43.12, 1.45.0 up to but not including 1.45.7, 1.46.0 up to but not including 1.46.3, and version 1.47, indicating that older stable releases and specific development branches are affected while newer patched versions remain secure.

Mitigation strategies must prioritize immediate patching as the primary defense vector. Administrators operating MediaWiki instances with the VisualEditor extension should upgrade to a non-vulnerable release immediately, ensuring they select a version equal to or greater than 1.43.12, 1.45.7, 1.46.3, or later stable releases of 1.47 and beyond where these input handling routines have been corrected with robust sanitization logic. In scenarios where immediate patching is not feasible due to operational constraints, temporary mitigations include implementing strict Content Security Policy headers that restrict the execution of inline scripts and limit script sources to trusted domains only. Additionally, deploying Web Application Firewalls configured to detect and block common XSS payloads in HTTP request parameters can provide a layer of defense against exploitation attempts. Long-term remediation involves enforcing secure coding practices within development workflows, specifically integrating static application security testing tools that flag instances where user input is directly inserted into DOM elements without proper encoding. Regular code reviews focusing on data flow analysis for the VisualEditor modules will help prevent recurrence and ensure alignment with OWASP Top Ten guidelines regarding injection vulnerabilities.

Reservation

11/18/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00703

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!