CVE-2024-47841 Path traversal when loading stylesheets

Medium 6.9 Published Updated

An attacker can read arbitrary files from the server by exploiting a path traversal vulnerability in the MediaWiki CSS Extension.

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-47841?

CVE-2024-47841 is a medium-severity path traversal vulnerability in The Wikimedia Foundation Mediawiki - CSS Extension, 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 Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in The Wikimedia Foundation Mediawiki - CSS Extension allows Path Traversal.This issue affects Mediawiki - CSS Extension: from 1.42.X before 1.42.2, from 1.41.X before 1.41.3, from 1.39.X before 1.39.9.

Weakness: CWE-22

Which versions are affected by CVE-2024-47841?

It affects 1 product.

Products include Wikimedia Wikimedia-Extensions-Css.

How do I fix CVE-2024-47841?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-47841 being exploited?

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

Sources

Also known as GHSA-44q7-44r8-rqj7.

Is CVE-2024-47841 in your software?

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

Check your SBOMs for free