CVE-2025-6594 XSS in Special:ApiSandbox

None 0.0 Published Updated

An attacker can execute arbitrary scripts in the API Sandbox interface, potentially compromising user sessions or data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-6594?

CVE-2025-6594 is a cross-site scripting vulnerability in Wikimedia Foundation MediaWiki, published on 2 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files resources/src/mediawiki.Special.Apisandbox/ApiSandbox.Js.

This issue affects MediaWiki: from 1.27.0 before 1.39.13, 1.42.7 1.43.2, 1.44.0.

Weakness: CWE-79

Which versions are affected by CVE-2025-6594?

How do I fix CVE-2025-6594?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-6594 being exploited?

There is no known exploitation of CVE-2025-6594 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-6594, GHSA-f8f3-5c83-vh78, UBUNTU-CVE-2025-6594.

Is CVE-2025-6594 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free