CVE-2024-47840 Stored XSS through sidebar in Apex skin

Medium 6.9 Published Updated

Attackers can inject malicious scripts via the sidebar in the MediaWiki Apex skin, potentially compromising user sessions and data.

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

What is CVE-2024-47840?

CVE-2024-47840 is a medium-severity cross-site scripting vulnerability in The Wikimedia Foundation Mediawiki - Apex skin, 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 - Apex skin allows Stored XSS.This issue affects Mediawiki - Apex skin: from 1.39.X before 1.39.9, from 1.41.X before 1.41.3, from 1.42.X before 1.42.2.

Weakness: CWE-79

Which versions are affected by CVE-2024-47840?

It affects 1 product.

Products include Wikimedia Apex.

How do I fix CVE-2024-47840?

No fix has been published for CVE-2024-47840 yet. Limit exposure of the affected software until one is available.

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-47840 being exploited?

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

Sources

Also known as GHSA-mmf2-8r78-pm42.

Is CVE-2024-47840 in your software?

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

Check your SBOMs for free