CVE-2024-50345
Open redirect via browser-sanitized URLs in symfony/http-foundation
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in the web cache. An attacker could possibly use this issue to obtain sensitive information and access unauthorized resources. Marco Squarcina discovered that Symfony incorrectly handled the storage of user session information. An attacker could possibly use this issue to perform a cross-site request forgery attack. Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An attacker could possibly use this issue to perform cross site scripting.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2024-10-22 CVE Reserved
- 2024-11-06 CVE Published
- 2024-11-07 CVE Updated
- 2025-04-16 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjp | X_refsource_confirm | |
https://url.spec.whatwg.org | X_refsource_misc |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | < 5.4.46 Search vendor "Symfony" for product "Symfony" and version " < 5.4.46" | en |
Affected
| ||||||
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | >= 6.0.0 < 6.4.14 Search vendor "Symfony" for product "Symfony" and version " >= 6.0.0 < 6.4.14" | en |
Affected
| ||||||
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | >= 7.0.0 < 7.1.7 Search vendor "Symfony" for product "Symfony" and version " >= 7.0.0 < 7.1.7" | en |
Affected
|