Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1ycnZjLWM3eGctN2NmM84AA8x7

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?

Permalink: https://github.com/advisories/GHSA-rrvc-c7xg-7cf3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ycnZjLWM3eGctN2NmM84AA8x7
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 6 months ago
Updated: 6 months ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-rrvc-c7xg-7cf3, CVE-2024-37156
References: Repository: https://github.com/sulu/SuluFormBundle
Blast Radius: 5.2

Affected Packages

packagist:sulu/form-bundle
Dependent packages: 1
Dependent repositories: 7
Downloads: 201,362 total
Affected Version Ranges: >= 2.0.0, < 2.5.3
Fixed in: 2.5.3
All affected versions: 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.5.0, 2.5.1, 2.5.2
All unaffected versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 2.5.3, 2.5.4