Vulnerability Description
symfony/http-foundation is a module for the Symphony PHP framework which defines an object-oriented layer for the HTTP specification. The `Request` class, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on the `Request` class to redirect users to another domain. The `Request::create` methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/. This issue has been patched in versions 5.4.46, 6.4.14, and 7.1.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sensiolabs | Symfony | < 5.4.46 |
Related Weaknesses (CWE)
References
- https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjpVendor Advisory
- https://url.spec.whatwg.orgIssue Tracking
- https://lists.debian.org/debian-lts-announce/2025/05/msg00051.html
FAQ
What is CVE-2024-50345?
CVE-2024-50345 is a vulnerability with a CVSS score of 3.1 (LOW). symfony/http-foundation is a module for the Symphony PHP framework which defines an object-oriented layer for the HTTP specification. The `Request` class, does not parse URI with special characters th...
How severe is CVE-2024-50345?
CVE-2024-50345 has been rated LOW with a CVSS base score of 3.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50345?
Check the references section above for vendor advisories and patch information. Affected products include: Sensiolabs Symfony.