6.1medium
TokenController formName not sanitized in hidden input
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-rrvc-c7xg-7cf3
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sulu SuluFormBundle | >=2.0.0, < 2.5.3, from 2.0.0 before 2.5.3 | CVE List, NVD |
| sulu/form-bundle (Packagist) | from 2.0.0 before 2.5.3 | GitHub Advisory Database |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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?
NVD (es)
SuluFormBundle agrega soporte para crear formularios dinámicos en Sulu Admin. El parámetro de obtención de TokenController formName no se sanitiza en el campo de entrada devuelto, lo que conduce a XSS. Esta vulnerabilidad se solucionó en 2.5.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-37156 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rrvc-c7xg-7cf3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-37156 changed 2026-06-17 | Public domain |