# CVE-2024-47845: CSS sanitizer used incorrectly, and is easily bypassed

- Severity: Medium 6.9 (CVSS:4.0, scored by wikimedia-foundation) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-05T00:09:09.355Z
- Modified: 2026-06-17T07:57:51.003Z
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: wikimedia-foundation

## Description

Improper Encoding or Escaping of Output vulnerability in The Wikimedia Foundation Mediawiki - CSS Extension allows Code Injection.This issue affects Mediawiki - CSS Extension: from 1.39.X before 1.39.9, from 1.41.X before 1.41.3, from 1.42.X before 1.42.2.

(As written by CVE List.)

## Affected

- The Wikimedia Foundation Mediawiki - CSS Extension: from 1.39.x before 1.39.9; from 1.41.x before 1.41.3; from 1.42.x before 1.42.2
- wikimedia mediawiki-extensions-css: from 1.39.0 before 1.39.9; from 1.41.0 before 1.41.3; from 1.42.0 before 1.42.2
- wikimedia wikimedia-extensions-css: from 1.39.0 before 1.39.9; from 1.41.0 before 1.41.3; from 1.42.0 before 1.42.2

## Every score

- wikimedia-foundation: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://phabricator.wikimedia.org/T368594> (exploit, issue-tracking, vendor-advisory)
- <https://phabricator.wikimedia.org/T368628> (issue-tracking, vendor-advisory)
- <https://gerrit.wikimedia.org/r/q/I6f38f4a8fc1dcd690ab27b8f18ce6ca903bacc53> (patch)

## Sources

- CVE List: [CVE-2024-47845](https://www.cve.org/CVERecord?id=CVE-2024-47845), CVE Terms of Use, modified 2024-10-07
- NVD: [CVE-2024-47845](https://nvd.nist.gov/vuln/detail/CVE-2024-47845), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47845 · Whole record: https://cve.day/CVE-2024-47845.json · Rebuilt by cve.day 2026-11-25T22:58:46.043Z
