CVE-2025-62671 Stored XSS through wikitext in Cargo

Medium 6.9 Published Updated

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.

PackageAffectedFixed in
mediawiki/cargo PackagistAll versions3.8.3
mediawiki/cargo PackagistAll versions3.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.

Is CVE-2025-62671 in your software?

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

Check your SBOMs for free