CVE-2024-47847 Various XSSes found in Cargo

Medium 6.9 Published Updated

Cross-site scripting vulnerability in the MediaWiki Cargo extension allows attackers to inject malicious scripts into web pages viewed by other users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47847?

CVE-2024-47847 is a medium-severity cross-site scripting vulnerability in The Wikimedia Foundation Mediawiki - Cargo, published on 5 Oct 2024. 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 allows Cross-Site Scripting (XSS).This issue affects Mediawiki - Cargo: from 3.6.X before 3.6.1.

Weakness: CWE-79

Which versions are affected by CVE-2024-47847?

2 open source packages ship an affected version, including mediawiki/cargo. It affects 1 product.

PackageAffectedFixed in
mediawiki/cargo PackagistAll versions3.6.1
mediawiki/cargo PackagistAll versions3.6.1

Products include Mediawiki Cargo.

How do I fix CVE-2024-47847?

Upgrade mediawiki/cargo to 3.6.1 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-2024-47847 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47847 exists.

Sources

Also known as GHSA-jqvm-9xm2-gc38.

Is CVE-2024-47847 in your software?

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

Check your SBOMs for free