{"id":"CVE-2024-37156","aliases":["CVE-2024-37156","GHSA-rrvc-c7xg-7cf3"],"related":[],"kind":"vulnerability","state":"published","title":"TokenController formName not sanitized in hidden input","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nTokenController get parameter formName not sanitized in returned input field leads to XSS.\n\n_What kind of vulnerability is it? Who is impacted?_\n\n### Patches\n\n_Has the problem been patched? What versions should users upgrade to?_\n\n### Workarounds\n\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nCreate 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.\n\n### References\n\n_Are there any links users can visit to find out more?_","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-06-06T16:03:46.771Z","modified":"2026-09-10T03:50:15.786Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":">=2.0.0, < 2.5.3","status":"affected"}],"vendor":"sulu","product":"SuluFormBundle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.5.3"}],"ecosystem":"Packagist","package":"sulu/form-bundle","purl":"pkg:composer/sulu/form-bundle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.5.3"}],"vendor":"sulu","product":"suluformbundle","cpe":"cpe:2.3:a:sulu:suluformbundle:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sulu/SuluFormBundle/security/advisories/GHSA-rrvc-c7xg-7cf3","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sulu/SuluFormBundle/commit/3f341b71a7309cbc8fd2c5bff894c654d1679b17","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37156","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sulu/SuluFormBundle","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-19T12:57:53.699Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-37156","url":"https://www.cve.org/CVERecord?id=CVE-2024-37156","licence":"CVE Terms of Use","modified":"2024-08-02T03:50:54.830Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rrvc-c7xg-7cf3","url":"https://github.com/advisories/GHSA-rrvc-c7xg-7cf3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-37156","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37156","licence":"Public domain","modified":"2026-06-17T07:37:51.623Z"}],"updatedAt":"2026-11-25T22:58:41.484Z","epss":{"score":0.00292,"percentile":0.23414,"date":"2026-12-01T12:00:22.000Z"}}