Loading...
Skip to main content

CVE-2024-50345 — Vulnerability in symfony/http-foundation — CVE...

LOW

Symfony vulnerable to open redirect via browser-sanitized URLs

Published November 6, 2024Updated November 3, 2025Source: osv

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.29%). Schedule for your next planned update.

Summary

### 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.

Advisory Timeline

  • First published November 6, 2024 (705 days ago).
  • Last revised November 3, 2025 — 362 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update symfony/http-foundation to 7.1.7 or later
composer require "symfony/http-foundation:^7.1.7"
Composer
Update symfony/http-foundation to 5.4.46 or later
composer require "symfony/http-foundation:^5.4.46"
Composer
Update symfony/http-foundation to 6.4.14 or later
composer require "symfony/http-foundation:^6.4.14"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
symfony/http-foundation
packagist
v7.0.0, v7.0.10, v7.0.3, v7.0.4 (+10 more)7.1.7
symfony/http-foundation
packagist
2.0.4, 2.0.5, 2.0.6, 2.0.7 (+569 more)5.4.46
symfony/http-foundation
packagist
v6.0.0, v6.0.1, v6.0.10, v6.0.11 (+72 more)6.4.14

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 3.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Frequently Asked Questions

What is CVE-2024-50345?
Symfony vulnerable to open redirect via browser-sanitized URLs This vulnerability has been assigned a severity rating of LOW (CVSS score: 3.1/10).
How do I check if my project is affected by CVE-2024-50345?
CVE-2024-50345 affects symfony/http-foundation. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-50345 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
3.1

Exploitation is difficult or impact is minor. Address in your next planned update.

EPSS Score (30-day exploit probability)
0.29%
Higher than 52% of vulnerabilities

This is an above-median EPSS score — 52.1% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-mrqx-rp3w-jpjp

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies