Skip to main content

Symfony Routing EUVDEUVD-2026-135243

| CVE-2026-133754 MEDIUM
Improper Encoding or Escaping of Output (CWE-116)
2026-11-25 Symfony
5.3
CVSS 4.0 · Vendor: Symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted host-placeholder value
  2. Delivery
    Reaches url() via request query string
  3. Exploit
    Forbidden characters bypass requirement check
  4. Execution
    Generated URL authority points elsewhere
  5. Impact
    Victim follows link to attacker host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

Exploitation requires an application route whose host contains a placeholder (e.g. '{tenant}.example.com') AND an application that routes untrusted input into that placeholder - concretely, passing the request query string to url(), or using RedirectController::redirectAction() with keepQueryParams:true where the target route has a host placeholder the redirecting route does not define. The attacker-supplied value must contain a host-forbidden character (/, @, #, ?, \, %, :, controls, space, <, >, [, ], ^, |, DEL) or a Unicode full stop (。 .﹒) that IDNA maps to '.', which previously passed even the default [^.]++ requirement and explicit requirement checks. LIMITING FACTORS: the flaw yields no value against applications that never place untrusted data into host placeholders (host placeholders are not used by default); successful abuse also needs passive user interaction (UI:P) - the victim must follow the generated link - so it is a phishing/redirect vector rather than a direct server compromise.

Impact

This is an open-redirect / host-injection flaw (CWE-116 improper encoding, with CWE-601 added by the GHSA advisory) in Symfony's UrlGenerator, not a code-execution or data-leak bug. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3) reflects remote, low-complexity, unauthenticated triggering but requires passive user interaction (UI:P) - the victim must follow the generated link - and only subsequent-system confidentiality/integrity are Low (VC/VI/VA:N on the vulnerable system itself). No EPSS score, no CISA KEV listing, and no exploit/PoC reference are present in the input, so exploitation status is 'no public exploit identified at time of analysis' despite the advisory containing a concrete working example payload (evil%2Ecom#). The vuln.today Decision label is 'this_month', consistent with a medium-severity, patch-in-normal-cycle issue rather than an emergency. The important caveat: the framework code is universally present wherever Symfony routing is used, but actual exposure is conditional - an application is only vulnerable where it lets untrusted input reach a host placeholder (e.g. passing the request query string to url(), or RedirectController::redirectAction() with keepQueryParams:true against a route with a host placeholder the redirecting route doesn't define). So real-world risk is 'widely-present-but-conditionally-exploitable': prioritize the patch, but blanket treatment as a critical exposure would overstate it.

Exploit ScenarioDerived

An application generates absolute URLs from user-controlled input placed into a host placeholder such as {tenant}.example.com, for instance by feeding the request query string to url(). An attacker supplies a value like evil%2Ecom

(or a Unicode full stop variant), producing https://evil%2Ecom#.example.com/dashboard, whose authority browsers resolve to evil.com. When a victim follows the generated link they are sent to the attacker's host for phishing or token/credential harvesting; no public exploit is identified, though the advisory documents a working payload.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Open redirect and host-injection in Symfony's UrlGenerator (Routing component) lets an attacker-controlled value placed into a host placeholder change which host a generated absolute URL points to, so a crafted link such as 'evil%2Ecom#' against a '{tenant}.example.com' route is emitted as 'https://evil%2Ecom#.example.com/dashboard' and resolved by browsers to evil.com. Affected are symfony/routing and symfony/symfony releases before 5.4.57, 6.4.51, 7.4.24 and 8.1.12; exposure requires an application that actually feeds untrusted data (for example the request query string passed to url(), or RedirectController::redirectAction() with keepQueryParams:true onto a route whose host placeholder the redirecting route does not define) into a host placeholder, and successful abuse needs the victim to follow the link. Exploitation is unauthenticated but requires passive user interaction, so this is a phishing/redirect vector rather than server compromise; no public exploit code and no CISA KEV entry were identified at time of analysis, and a vendor patch plus upstream commit are available.

RemediationAI

Vendor-released patch: upgrade symfony/routing and symfony/symfony to 5.4.57, 6.4.51, 7.4.24 or 8.1.12 respectively (the fix is upstream commit 73505be32fd675507f3572f5b89ed0a76733bf2f, forward-ported to 8.2), following the guidance at https://symfony.com/cve-2026-133754 and https://github.com/symfony/symfony/security/advisories/GHSA-wgv4-frv7-c8c5. After the patch, host placeholder values containing C0 controls, space, #, %, /, :, <, >, ?, @, [, \, ], ^, |, DEL or a Unicode full stop are rejected whatever strict_requirements is set to - with strict_requirements enabled the generator throws InvalidParameterException, and with it false or null the generator logs an error and returns an empty string, so review logging and error handling before deploying to avoid silently empty URLs. Note the behavioural change that host placeholders may still be an IPv6 literal such as [::1] but can no longer include a port, so routes or callers relying on 'host:port' placeholder values must be adjusted. Because the flaw only bites when untrusted values reach host placeholders, applications that cannot patch immediately should stop passing request-derived data (notably the query string) into url() host placeholders and should avoid RedirectController::redirectAction() with keepQueryParams:true when the target route defines a host placeholder absent from the redirecting route, at the cost of losing query-parameter propagation on those redirects.

Affected VersionsENISA

symfony/routing 0 <5.4.57
symfony/routing 8.0.0 <8.1.12
symfony/symfony 8.0.0 <8.1.12
symfony/routing 7.0.0 <7.4.24
symfony/routing 6.0.0 <6.4.51
symfony/symfony 7.0.0 <7.4.24
symfony/symfony 6.0.0 <6.4.51
symfony/symfony 0 <5.4.57

Affected Packages

euvd symfony_routing fix: 5.4.57, 6.4.51, 7.4.24, 8.1.12
euvd symfony_symfony fix: 5.4.57, 6.4.51, 7.4.24, 8.1.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is an output-encoding defect (CWE-116) in Symfony's routing URL generator that also manifests as an open redirect (CWE-601, as classified in the GHSA advisory). When generating an absolute URL, UrlGenerator substitutes host placeholder values into the authority portion of the URL without encoding them; the default requirement for such placeholders, '[^.]++', happily accepts '/', '@', '#', '?', '\\', '%' and ':', and the same applies when explicit requirements are configured and checked. Because the injected characters are not percent-encoded or rejected, they can terminate the authority or introduce a fragment, so the browser's URL parser lands on a different host than the application intended. IDNA adds a second bypass: Unicode full stops such as '。' (U+3002), '.' (U+FF0E) and '﹒' (U+FE61) are mapped to '.' during IDNA processing, reproducing the same host shift without any ASCII delimiter. The exposure is entirely configuration-dependent - host placeholders are not used by default, and the generator only misbehaves where application code routes externally influenced values into them, most notably the request query string passed to url() or RedirectController::redirectAction() with keepQueryParams:true when the target route carries a host placeholder absent from the redirecting route. The fix in UrlGenerator::doGenerate adds a preg_match guard rejecting C0 controls through space (\x00-\x20), '#', '%', '/', ':', '<', '>', '?', '@', '[', '\\', ']', '^', '|', DEL (\x7F) and the three Unicode full stops, applied regardless of strict_requirements; the sole exception is a bracketed, FILTER_VALIDATE_IP/FILTER_FLAG_IPV6-validated IPv6 literal such as '[::1]', which may no longer carry a port. The trigger is fully described in the vendor advisory and the accompanying commit diff and tests; the LIMITING FACTORS in the assessed impact are that no value is obtained against applications that never place untrusted data into host placeholders, and that the victim must follow the generated link.

Know when Symfony gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Symfony) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Remote, low-complexity, unauthenticated encoding bypass (AV:N/AC:L/PR:N), but requires the victim to follow the link (UI:R) and crosses into the browser/another host (S:C) with only low C/I impact, no A.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Symfony).

CVSS VectorVendor: Symfony

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \, % and :. With the host {tenant}.example.com, the value evil%2Ecom

gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like 。 have the same effect, since IDNA maps them to ..

Applications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn't define.

UrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, <, >, ?, @, [, \, ], ^, | and DEL. Unicode full stops are rejected too. This check applies whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. Host placeholder values can still be an IPv6 literal like [::1], but they can't contain a port anymore.

Threat Intelligence Overview

EPSS Score
0.9%
Top 41% exploitable
Prevalence
High
Symfony is a very widely deployed enterprise PHP framework and routing component
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1

CVE-2019-10910 CRITICAL POC
9.8 May 16

In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s

CVE-2019-11325 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy