GitHub Advisoryadvisory · Packagist
GHSA-rrvc-c7xg-7cf3 TokenController formName not sanitized in hidden input
MEDIUM
Official page ↗
- Aliases
- CVE-2024-37156
- Ecosystem
- Packagist
- Packages
- sulu/form-bundle
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79, CWE-80
- Reviewed
- 2024-06-06
Affected packages
• Packagist sulu/form-bundle: >= 2.0.0, < 2.5.3 → fixed in 2.5.3
Description
Impact
TokenController get parameter formName not sanitized in returned input field leads to XSS.
_What kind of vulnerability is it? Who is impacted?_
Patches
_Has the problem been patched? What versions should users upgrade to?_
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
Create a custom Symfony Request listener which checks for the get value of `form` for the TokenController and if not valid stop the request dispatching and return a error status code.
References
_Are there any links users can visit to find out more?_
Related
Alias · CVE (1)
- CVE-2024-37156 The SuluFormBundle adds support for creating dynamic forms in Sulu Admin. vulnerability