Description
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.
Published: 2026-11-25
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 25 Nov 2026 10:15:00 +0000

Type Values Removed Values Added
Description 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.
Title UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host
Weaknesses CWE-116
CWE-601
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Symfony

Published:

Updated: 2026-11-25T10:00:13.982Z

Reserved: 2026-11-20T14:01:43.158Z

Link: CVE-2026-133754

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-25T10:17:12.983

Modified: 2026-11-25T10:17:12.983

Link: CVE-2026-133754

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-25T12:00:09Z

Weaknesses