Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/http-foundation
  4. ›
  5. CVE-2024-50345

CVE-2024-50345: Symfony vulnerable to open redirect via browser-sanitized URLs

November 6, 2024 (updated November 3, 2025)

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2024-50345.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50345.yaml
  • github.com/advisories/GHSA-mrqx-rp3w-jpjp
  • github.com/symfony/symfony
  • github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819
  • github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjp
  • lists.debian.org/debian-lts-announce/2025/05/msg00051.html
  • nvd.nist.gov/vuln/detail/CVE-2024-50345
  • symfony.com/cve-2024-50345
  • url.spec.whatwg.org/

Code Behaviors & Features

Detect and mitigate CVE-2024-50345 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.4.46, all versions starting from 6.0.0 before 6.4.14, all versions starting from 7.0.0 before 7.1.7

Fixed versions

  • 5.4.46
  • 6.4.14
  • 7.1.7

Solution

Upgrade to versions 5.4.46, 6.4.14, 7.1.7 or above.

Impact 3.1 LOW

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

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

packagist/symfony/http-foundation/CVE-2024-50345.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:34 +0000.