CVE-2024-37156 – sulu/form-bundle
Package
Manager: composer
Name: sulu/form-bundle
Vulnerable Version: >=2.0.0 <2.5.3
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00642 pctl0.69705
Details
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 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?_
Metadata
Created: 2024-06-06T21:36:40Z
Modified: 2024-06-06T21:36:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-rrvc-c7xg-7cf3/GHSA-rrvc-c7xg-7cf3.json
CWE IDs: ["CWE-79", "CWE-80"]
Alternative ID: GHSA-rrvc-c7xg-7cf3
Finding: F008
Auto approve: 1