Medium, CVSS 6.1PackagistPublished
TokenController formName not sanitized in hidden input
CVE-2024-37156 · GHSA-rrvc-c7xg-7cf3
- Affected
- Packagist sulu/form-bundle >= 2.0.0, < 2.5.3
- Fixed in
- 2.5.3· Vendor fix available
- Issue
- 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?
Recommended action: Upgrade to 2.5.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.