CVE-2024-50345
mediumpriority · track · 24EPSS 0.006 · 48 %ileEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.1–6.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mrqx-rp3w-jpjpSymfony vulnerable to open redirect via browser-sanitized URLs2024-11-06ghsa · osvUS
### Description 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. ### Resolution The `Request::create` methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/ The patch for this issue is available [here](https://github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819) for branch 5.4. ### Credits We would like to thank Sam Mush - IPASSLab && ZGC Lab for reporting the issue and Nicolas Grekas for providing the fix.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjpcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-50345cnnvd
- https://url.spec.whatwg.orgcnnvd
- https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjpenisa_euvd
- https://url.spec.whatwg.orgenisa_euvd
- https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjpVendor Advisorynvd
- https://lists.debian.org/debian-lts-announce/2025/05/msg00051.htmlnvd
- https://url.spec.whatwg.orgIssue Trackingnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan