Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-135802— Generated URLs Can Point to a Host Chosen by the Client

Quick assessment

Affected
Symfony symfony/http-foundation
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before

Possible ATT&CK Techniques 1 AI

T1566 · Phishing
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-135802

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Generated URLs Can Point to a Host Chosen by the Client
Source: CVE Program / CVE List V5
Vulnerability Description
When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with // or /\ made the base URL start with a host. With SCRIPT_NAME=/public/index.php, a request for //evil.example/public/index.php/login is routed to /login, with the base URL //evil.example/public/index.php and the base path //evil.example/public. The URLs generated for that page then point to evil.example: - links built with path() and the actions of forms, so a login form sends the credentials of the user to evil.example; - redirects to generated URLs, such as the ones of redirectToRoute(); - assets referenced with a relative path through asset(), so the page can load scripts from evil.example. The attacker has to make a user follow a crafted link, such as https://app.example//evil.example/public/index.php/login. framework.trusted_hosts does not help, since the host of the request is the real one. Applications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A .htaccess file at the root of the project that rewrites every URL to public/ does that, for instance. Applications are also affected when the web server sets SCRIPT_NAME to the path of the request. Some nginx configurations do that when they send every request to the front controller without fastcgi_split_path_info. php -S does it too, with a router script outside the document root. A request for /\evil.example/index.php then gets the base URL /\evil.example/index.php, which browsers read as a link to evil.example. The configurations recommended in the Symfony documentation are not affected. Request::getBaseUrl() now returns an empty base URL when the request URI starts with // or /\.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Symfony symfony/http-foundation 0 ~ 5.4.56 -
Symfony symfony/symfony 0 ~ 5.4.56 -

II. Public POCs for CVE-2026-135802

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-135802

请登录查看更多情报信息。

Other References for CVE-2026-135802 (3)

Same Patch Batch · Symfony · 2026-11-24 · 12 CVEs total

CVE-2026-133781 7.3 HIGH Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps I
CVE-2026-133780 7.3 HIGH @symfony/stimulus-bridge lazy-controller-loader: arbitrary code execution via unsanitized
CVE-2026-133774 6.3 MEDIUM Authorization bypass in symfony/ux-live-component via an empty batch action request
CVE-2026-133778 6.3 MEDIUM Live Components Configured With a Custom Route Can Still Be Reached Through the Default Ro
CVE-2026-133779 5.3 MEDIUM XSS in symfony/ux-icons via Attribute Names That the Sanitizer Reads Differently Than Brow
CVE-2026-133776 5.3 MEDIUM XSS in symfony/ux-icons via Text That Sanitized Icons Contain Unescaped: Incomplete Fix fo
CVE-2026-133777 5.3 MEDIUM XSS in symfony/ux-icons via SVG Content That Browsers Parse as HTML: Incomplete Fix for CV
CVE-2026-133775 5.3 MEDIUM XSS in symfony/ux-icons via Scripts Nested in SVG Style Elements: Incomplete Fix for CVE-2
CVE-2026-135801 Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Na
CVE-2026-135804 Incomplete Fix for CVE-2026-45756: JsonPath Queries Can Still Hold a Process Through searc
CVE-2026-135803 Filesystem Path Treats Any Prefix Before "://" as a Root, Letting Paths Escape Their Base

IV. Related Vulnerabilities