CVE-2026-132718 in MediaWiki
Summary
by MITRE • 11/25/2026
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki - MobileFrontend Extension, MediaWiki - MinervaNeue Skin. This vulnerability is associated with program files resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.js. This issue affects MediaWiki - MobileFrontend Extension, MediaWiki - MinervaNeue Skin: 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 represents a classic Cross-site Scripting flaw within the Wikimedia Foundation's MediaWiki ecosystem, specifically impacting the MobileFrontend Extension and the MinervaNeue Skin. This security defect is rooted in the JavaScript file resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.js, which serves as a critical component for rendering user interface overlays related to page issues on mobile devices. The flaw arises from insufficient sanitization or validation of input data before it is processed and rendered within the web page context. When an attacker supplies malicious script content through inputs that are ultimately reflected or stored in these overlay components, the browser executes the injected code as if it were part of the legitimate application logic. This failure to properly neutralize special characters such as angle brackets, quotes, and ampersands allows for the injection of arbitrary JavaScript payloads into the client-side environment.
The operational impact of this vulnerability is significant due to the widespread use of MediaWiki across numerous high-traffic websites, including Wikipedia itself. An attacker can exploit this flaw to execute scripts in the context of the victim's browser session, thereby bypassing same-origin policy restrictions that normally isolate web applications from each other. This capability enables a range of malicious activities, including but not limited to stealing sensitive cookies and authentication tokens, hijacking user sessions, performing actions on behalf of the authenticated user without their consent, and redirecting users to phishing sites or malware distribution platforms. Since the vulnerability affects mobile interfaces specifically targeted by the MobileFrontend extension, it poses an elevated risk for users accessing wikis via smartphones and tablets, where session management mechanisms may differ slightly from desktop counterparts, potentially complicating mitigation efforts for end-users who rely on these devices for primary access.
From a classification perspective, this issue aligns with CWE-79, which defines Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting (XSS). The attack vector typically involves reflected or stored XSS depending on how the input is handled within the pageIssuesOverlay.js logic. In terms of offensive security frameworks, this vulnerability maps to MITRE ATT&CK technique T1059.007, which covers JavaScript execution under client-side scripting. Exploitation usually requires social engineering elements such as tricking a user into clicking a crafted link or visiting a malicious page that triggers the vulnerable overlay component with pre-loaded payload parameters. The severity is further compounded by the fact that MediaWiki instances often handle sensitive editorial and administrative data, making session hijacking particularly dangerous for editors and administrators who possess elevated privileges within the wiki structure.
Mitigation strategies must focus on both immediate remediation and long-term architectural improvements. For system administrators, upgrading to patched versions of MediaWiki is the primary defense; specifically, updating MobileFrontend Extension to version 1.43.12 or later, MinervaNeue Skin to version 1.45.7 or later, and ensuring that any instance running version 1.46 updates to at least 1.46.3, while also addressing the issue in version 1.47 if applicable. These patches likely implement stricter input validation and output encoding mechanisms within the JavaScript layer to prevent script injection. Additionally, implementing Content Security Policy headers can provide an additional layer of defense by restricting the sources from which scripts are allowed to execute, thereby mitigating the impact even if a successful XSS attempt occurs. Developers should also adopt secure coding practices that emphasize context-aware escaping when inserting dynamic data into HTML or JavaScript contexts, ensuring that all user-supplied inputs are treated as untrusted until explicitly validated against expected formats and character sets.