Skip to content

TokenController formName not sanitized in hidden input

Low
alexander-schranz published GHSA-rrvc-c7xg-7cf3 Jun 6, 2024

Package

composer sulu/form-bundle (Composer)

Affected versions

>=2.0.0

Patched versions

2.5.3

Description

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?

Severity

Low

CVE ID

CVE-2024-37156

Weaknesses

Credits