Wikimedia MediaWiki Cross-Site Scripting Vulnerability in ApiSandbox

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in the Wikimedia Foundation's MediaWiki, specifically within the Special:ApiSandbox page. This issue affects MediaWiki versions 1.27.0 prior to 1.39.13, as well as 1.42.7, 1.43.2, and 1.44.0. The vulnerability arises from improper handling of input during web page generation, allowing users to inject malicious scripts that could be executed in the context of the user's browser.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the victim's browser.

Reproduction

To reproduce this vulnerability, navigate to the Special:ApiSandbox page and enter a specific payload in the text parameter, including an image tag with an 'onerror' attribute. After clicking 'Make request', the injected script will execute, demonstrating the cross-site scripting vulnerability.

Remediation

Users can update to MediaWiki versions 1.39.13, 1.42.7, 1.43.2, or 1.44.0 to address this vulnerability.

Added: Feb 2, 2026, 11:47 PM
Updated: Feb 2, 2026, 11:47 PM

Vulnerability Rating

Custom Algorithm
spread
6.4
impact
1.7
exploitability
7.7
remediation
7.7
relevance
2.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.