Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0 until 6.4.41, 7.4.13, and 8.0.13, UrlSanitizer::parse() rejected raw BiDi formatting characters but not percent-encoded forms and used an ASCII-only whitespace check, allowing sanitized URLs to retain visual-spoofing characters that downstream consumers could decode or display. This issue is fixed in versions 6.4.41, 7.4.13, and 8.0.13.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
symfony symfony
>= 6.1.0, < 6.4.41affected>= 7.0.0-BETA1, < 7.4.13affected>= 8.0.0-BETA1, < 8.0.13affected
symfony html-sanitizer
>= 6.1.0, < 6.4.41affected>= 7.0.0-BETA1, < 7.4.13affected>= 8.0.0-BETA1, < 8.0.13affected
References
- https://github.com/symfony/symfony/security/advisories/GHSA-v3wm-qf9p-c549 ↗
- https://github.com/symfony/symfony/commit/b21a626fd90f5c12d2db432c629eed3e780ba2f8 ↗
- https://github.com/symfony/symfony/releases/tag/v6.4.41 ↗
- https://github.com/symfony/symfony/releases/tag/v7.4.13 ↗
- https://github.com/symfony/symfony/releases/tag/v8.0.13 ↗