Open redirect via browser-sanitized URLs in symfony/http-foundation
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/http-foundationPackagist | < 5.4.46 | 5.4.46 |
symfony/http-foundationPackagist | >= 6.0.0, < 6.4.14 | 6.4.14 |
symfony/http-foundationPackagist | >= 7.0.0, < 7.1.7 | 7.1.7 |
Affected products
2- Range: < 5.4.46
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-mrqx-rp3w-jpjpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-50345ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2024-50345.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50345.yamlghsaWEB
- github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819ghsaWEB
- github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjpghsax_refsource_CONFIRMWEB
- lists.debian.org/debian-lts-announce/2025/05/msg00051.htmlghsaWEB
- symfony.com/cve-2024-50345ghsaWEB
- url.spec.whatwg.orgghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.