CVE-2026-132729 in MediaWiki
Summary
by MITRE • 11/25/2026
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Wikimedia Foundation MediaWiki - Score Extension. This vulnerability is associated with program files includes/Score.php. This issue affects MediaWiki - Score Extension: 1.43, 1.45, 1.46, 1.47.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/25/2026
The identified vulnerability represents a classic injection flaw within the Wikimedia Foundation's MediaWiki platform, specifically affecting the Score extension in versions 1.43 through 1.47. This security issue is categorized under CWE-94, known as Improper Control of Generation of Code or Script (Code Injection), and aligns with ATT&CK technique T1059 which covers Command and Scripting Interpreter abuse. The root cause lies in the file includes/Score.php, where user-supplied input is processed without adequate sanitization before being passed to downstream components responsible for code generation or execution. This failure allows an attacker to inject malicious commands or scripts that are subsequently interpreted by the server-side environment, bypassing intended security boundaries and potentially leading to remote code execution on the affected system.
The technical mechanism of this vulnerability exploits the lack of strict input validation within the Score extension's rendering pipeline. When a user submits content containing special elements such as quotes, semicolons, or backticks, these characters are not properly escaped or neutralized before being incorporated into commands executed by external tools like LilyPond or other backend processors invoked by MediaWiki. Because the application trusts this input implicitly during the generation of musical scores or related outputs, an attacker can manipulate the command line arguments passed to these utilities. This manipulation enables the injection of arbitrary operating system commands that run with the privileges of the web server process, effectively granting the attacker control over the underlying infrastructure hosting the MediaWiki instance.
The operational impact of this vulnerability is severe, particularly for public-facing wiki instances where untrusted users can contribute content. An authenticated or even anonymous user depending on configuration could exploit this flaw to execute arbitrary commands on the host system. This capability allows for data exfiltration, modification of critical files, installation of backdoors, and lateral movement within the network if the server is compromised further. Given that MediaWiki powers numerous high-profile websites including Wikipedia itself, a successful exploitation could lead to significant reputational damage, loss of integrity in stored content, and potential denial of service through resource exhaustion or system instability caused by malicious command execution.
Mitigation strategies must prioritize immediate patching as well as defensive configuration changes. The Wikimedia Foundation has released updates for the Score extension that address this input validation deficiency; administrators should upgrade to a version where includes/Score.php properly sanitizes all user inputs before passing them to downstream components. In addition to updating software, organizations running vulnerable versions should implement web application firewalls configured with rulesets capable of detecting and blocking injection patterns in POST requests related to score editing features. Furthermore, restricting the privileges of the web server process by employing chroot jails or containerization can limit the blast radius if an exploitation attempt succeeds, ensuring that even successful command execution does not compromise the entire host system.