CVE-2025-6591 HTML injection in API action=feedcontributions output from i18n message
An attacker can inject HTML into the feed contributions API output, potentially leading to cross-site scripting attacks against MediaWiki users.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-6591?
CVE-2025-6591 is a cross-site scripting vulnerability in Wikimedia Foundation MediaWiki, published on 2 Feb 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/api/ApiFeedContributions.Php.
This issue affects MediaWiki: from * before 1.39.13, 1.42.7 1.43.2, 1.44.0.
Weakness: CWE-79
Which versions are affected by CVE-2025-6591?
How do I fix CVE-2025-6591?
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-6591 being exploited?
There is no known exploitation of CVE-2025-6591 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2025-6591, GHSA-723j-w27h-459f, UBUNTU-CVE-2025-6591.