CVE-2025-62671 Stored XSS through wikitext in Cargo
Attackers can inject malicious scripts via wikitext in the Cargo extension, potentially executing code or hijacking user accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-62671?
CVE-2025-62671 is a medium-severity cross-site scripting vulnerability in The Wikimedia Foundation Mediawiki - Cargo Extension, published on 18 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in The Wikimedia Foundation Mediawiki - Cargo Extension allows Stored XSS.This issue affects Mediawiki - Cargo Extension: master.
Weakness: CWE-79
Which versions are affected by CVE-2025-62671?
2 open source packages ship an affected version, including mediawiki/cargo.
| Package | Affected | Fixed in |
|---|---|---|
mediawiki/cargo Packagist | All versions | 3.8.3 |
mediawiki/cargo Packagist | All versions | 3.8.3 |
How do I fix CVE-2025-62671?
Upgrade mediawiki/cargo to 3.8.3 or later.
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-62671 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62671 exists.
Sources
Also known as GHSA-gr6v-3pmp-996p.