
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-6594 is a Cross-Site Scripting (XSS) vulnerability in Wikimedia Foundation MediaWiki, specifically within the API Sandbox component (resources/src/mediawiki.Special.Apisandbox/ApiSandbox.js). It affects MediaWiki versions from 1.27.0 before 1.39.13, 1.42.7 before 1.43.2, and 1.44.0. The vulnerability was publicly disclosed on February 2, 2026, and carries a CVSS v3.1 base score of 4.7 (Medium) (Red Hat Advisory, Red Hat Bugzilla).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), rooted in insufficient sanitization of user-supplied input within the ApiSandbox.js file of MediaWiki's Special:ApiSandbox interface. An unauthenticated remote attacker can craft malicious input that, when rendered in the API Sandbox page, executes arbitrary JavaScript in the victim's browser context. Exploitation requires passive user interaction — a user must visit or interact with the affected API Sandbox page while the malicious content is present. The attack vector is network-based with low complexity and no authentication required (Red Hat Advisory, Red Hat Bugzilla).
Successful exploitation allows an attacker to execute malicious scripts in the browser context of any user who interacts with the affected API Sandbox interface, potentially leading to session hijacking, credential theft, unauthorized actions performed on behalf of the victim, or redirection to malicious sites. The confidentiality impact is limited (low) with no direct integrity or availability impact on the server, but the changed scope means the attack can affect resources beyond the vulnerable component itself. The vulnerability is particularly relevant for MediaWiki deployments where the API Sandbox is accessible to a broad user base (Red Hat Advisory).
There is no public proof-of-concept exploit code and no evidence of in-the-wild exploitation at this time. The EPSS score is extremely low at 0.0001 (0.01%), reflecting minimal current exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Detection plugins are available from Qualys (ID: 6264870) and Tenable Nessus (IDs: 241337, 242647, 243630) (Red Hat Advisory).
Special:ApiSandbox), leveraging the lack of proper input neutralization in ApiSandbox.js.Special:ApiSandbox containing encoded JavaScript payloads (e.g., <script>, onerror=, javascript: URI schemes) in query parameters or POST body.resources/src/mediawiki.Special.Apisandbox/ApiSandbox.js if an attacker has achieved further access (Red Hat Advisory).Wikimedia Foundation has released patched versions: MediaWiki 1.39.13, 1.43.2, and 1.44.1 or later. Administrators should upgrade affected installations to the appropriate patched version as the primary remediation. As a temporary workaround, restrict access to the Special:ApiSandbox page to trusted administrators only. Additionally, implementing Content Security Policy (CSP) headers can reduce the impact of any successful XSS exploitation. Debian has also issued security advisories (DSA-5957-1 and DLA-4249-1) for affected packages (Red Hat Advisory, Debian Advisory).
Debian issued security advisory DSA-5957-1 and a Long Term Support advisory DLA-4249-1 addressing this and related MediaWiki vulnerabilities, indicating broad distribution-level attention (Debian Advisory, Debian LTS). Red Hat tracked the issue via Bugzilla and assigned it high priority and severity (Red Hat Bugzilla). No notable independent researcher commentary or significant social media discussion has been identified for this vulnerability.
Fix availability across major Linux distributions and their releases.
bookworm
mediawiki: 1:1.39.13-1~deb12u1
sid
mediawiki: 1:1.43.3+dfsg-1
trixie
mediawiki: 1:1.43.3+dfsg-1
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."