Vulnerabilities

CVE-2024-50345

Medium 6.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2024-11-06
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.6 % higher than 44 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Sensiolabs Symfony < 5.4.46 Affected
Sensiolabs Symfony ≥ 6.0.0, < 6.4.14 Affected
Sensiolabs Symfony ≥ 7.0.0, < 7.1.7 Affected
symfony http-foundation (Packagist) < 5.4.46 Affected
symfony http-foundation (Packagist) ≥ 6.0.0, < 6.4.14 Affected
symfony http-foundation (Packagist) ≥ 7.0.0, < 7.1.7 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities