Advisory

GHSA-rrvc-c7xg-7cf3

Also known as: CVE-2024-37156

Summary

TokenController formName not sanitized in hidden input

Details

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-06 21:36 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

sulu/form-bundle

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.5.3 (ecosystem)

Fixed versions

2.5.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences