Security Resilience

CVE-2024-47841

Path Traversal in Wikimedia-Extensions-Css 1.39.0 – 1.39.9

Public PoCPath Traversal
Published
05 October 2024
Modified
16 October 2024
Patch / advisory
CVSS Score v4 6.9
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.35 98th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS scores by FIRST (EPSS SIG), generated by Empirical Security. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-47841 is a medium-severity Path Traversal (CWE-22) vulnerability in Wikimedia-Extensions-Css. Its CVSS base score is 6.9 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-47841 is a path traversal vulnerability, tracked as CWE-22, that affects the CSS Extension for MediaWiki. The flaw stems from improper limitation of pathnames to restricted directories and impacts versions 1.42.X prior to 1.42.2, 1.41.X prior to 1.41.3, and 1.39.X prior to 1.39.9.

An unauthenticated remote attacker can exploit the issue over the network with low complexity to read or write files outside intended directories, resulting in limited impacts to confidentiality and integrity without affecting availability.

Patches addressing the vulnerability have been published through Wikimedia's Gerrit and Phabricator systems, with fixes incorporated into the corrected releases noted above. The associated EPSS score has remained flat at 0.2891 with no material increase observed since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

1.39.9.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-47624Shared CWE-22
CVE-2026-44542Shared CWE-22
CVE-2023-29128Shared CWE-22
CVE-2023-3697Shared CWE-22
CVE-2026-42028Shared CWE-22
CVE-2025-58423Shared CWE-22
CVE-2026-33466Shared CWE-22
CVE-2024-41726Shared CWE-22
CVE-2023-49960Shared CWE-22
CVE-2023-20943Shared CWE-22

Affected Assets

wikimedia
wikimedia-extensions-css
1.39.0 — 1.39.9 · 1.41.0 — 1.41.3 · 1.42.0 — 1.42.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5) AI

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Input validation directly neutralizes special path elements before pathname construction occurs.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches path traversal via static/dynamic analysis.

prevents

Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.

References