CVE-2024-37156: TokenController formName not sanitized in hidden input
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…
Published Jun 6, 2024
Affected packages
sulu/form-bundle
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.0.0, < 2.5.3
- Fixed in
- 2.5.3
- Check
composer show sulu/form-bundle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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?_
Credited to picturestone, rogamoore.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
