CVE-2024-50345
MEDIUM 6.1CVSS 3.1Symfony vulnerable to open redirect via browser-sanitized URLs
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.
- Published
- 6 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-mrqx-rp3w-jpjp
- Sources
- NVDJSONOSV GHSA-mrqx-rp3w-jpjpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
< 5.4.46 | 5.4.46 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.4.14 | 6.4.14 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.1.7 | 7.1.7 |
| OSV | Packagist | symfony/http-foundation | < 5.4.46 | 5.4.46 |
| OSV | Packagist | symfony/http-foundation | >= 6.0.0, < 6.4.14 | 6.4.14 |
| OSV | Packagist | symfony/http-foundation | >= 7.0.0, < 7.1.7 | 7.1.7 |
References
- https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjp · Vendor Advisory, WEB
- https://url.spec.whatwg.org · Issue Tracking, WEB
- https://lists.debian.org/debian-lts-announce/2025/05/msg00051.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-50345 · ADVISORY
- https://github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2024-50345.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50345.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
- https://symfony.com/cve-2024-50345 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 6 Nov 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Nov 2024)