The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into <scheme>://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path:
GET https://app.example//evil.example/edit/ => 301 Location: https://evil.example/edit
This affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn't prevent it.
The matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.
The matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well.
CVE-2026-133744 is a vulnerability in the symfony/json-path component that allows uncontrolled resource consumption via specially crafted JSON Path queries. Recursive descent segments (..*) in queries multiply the number of nodes processed exponentially, causing excessive CPU and memory usage. The vulnerability affects versions >=7.3.0 <7.4.24 and >=8.0.0 <8.1.12. Fixed versions 7.4.24 and 8.1.12 introduce limits on node processing and query size to prevent denial-of-service conditions. The vulnerability has a CVSS 4.0 score of 6.3 (medium severity).
CVE-2026-133743 is a vulnerability in Symfony's symfony/http-kernel component where the main request's trusted proxy settings are temporarily altered during inline fragment rendering. This causes the application to trust X-Forwarded-* headers from 127.0.0.1, potentially allowing an attacker to inject malicious URLs into asset() and absolute_url() calls. This can lead to loading scripts from attacker-controlled hosts when pages are cached and served to other users. The issue affects applications accessed over HTTP from 127.0.0.1 without properly configured trusted proxies, typically behind TLS terminators, reverse proxies, or HTTP caches on the same host. The vulnerability is fixed in symfony/http-foundation versions included in symfony/http-kernel 5.4.57, 6.4.51, 7.4.24, and 8.1.12.
CVE-2026-135804 is an uncontrolled resource consumption vulnerability in the symfony/json-path component of Symfony. It arises from inefficient handling of JSONPath expressions, where attacker-controlled queries can cause excessive CPU usage by repeatedly evaluating complex regular expressions and filter expressions. This can lead to PHP worker processes being held for extended periods, with reported cases of 3.5 minutes CPU time for a 2 MB document and a 2.5 KB query. The issue affects versions >=7.3.0 <7.4.23 and >=8.0.0 <8.1.11. Fixed versions 7.4.23 and 8.1.11 include mitigations that bound regex work and optimize query evaluation to prevent excessive resource consumption.
CVE-2026-135803 is a path traversal vulnerability in the Symfony symfony/filesystem component affecting versions before 5.4.56, 6.4.50, 7.4.23, and 8.1.11. The issue arises because Path::split() treats any prefix before :// as a root without verifying it as a valid URI scheme, allowing .. segments in that prefix to bypass resolution. This can lead to applications reading or writing files outside intended directories. The vulnerability affects methods like canonicalize(), join(), makeAbsolute(), and makeRelative(). Symfony 6.4 and later's AssetMapper component can be exploited by malicious packages to write files outside the assets/vendor directory. The issue is fixed in versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11.
CVE-2026-135802 is an open redirect vulnerability in the Symfony symfony/http-foundation component affecting versions before 5.4.56, 6.4.50, 7.4.23, and 8.1.11. It occurs when Request::getBaseUrl() incorrectly parses the request URI starting with // or /\, allowing attackers to craft URLs that cause the application to generate links and redirects pointing to an attacker-controlled host. This can lead to phishing or credential theft if users follow malicious links. The issue affects applications with front controllers in subdirectories and certain web server configurations that rewrite URLs improperly. The vulnerability is fixed by returning an empty base URL when the request URI starts with // or /\.
CVE-2026-135801 is an authentication bypass vulnerability in Symfony's symfony/http-foundation component. The issue arises from improper handling of the SCRIPT_NAME in URL path parsing, allowing crafted URLs like /index.phpadmin to bypass access controls configured outside PHP, such as in web server or CDN rules. This can lead to unauthorized access to routes that should be protected. The vulnerability affects multiple Symfony versions prior to fixed releases. The issue is addressed by stricter path info parsing that only strips the script name when followed by specific delimiters.
CVE-2026-133781 is a build-time vulnerability in the @symfony/stimulus-bridge package where the controllers.json loader uses require() to load package.json files. This allows a malicious or compromised package to execute arbitrary code during the build process by exploiting the exports field mapping in Node.js. The vulnerability does not affect browsers or end users but can compromise developer machines or CI servers by accessing sensitive files and environment variables. The issue is fixed in version 4.0.3 by changing the loader to parse the resolved file as JSON instead of executing it as code.
The @symfony/stimulus-bridge npm package includes a Webpack loader called lazy-controller-loader that supports "magic comments" placed above a Stimulus controller import, for example /* stimulusFetch: 'lazy' */, to control lazy loading behavior. To read those options, the loader extracted the raw text of any stimulus* comment and evaluated it as JavaScript using Node's vm.runInNewContext(). The Node.js node:vm module is not a security sandbox, and a crafted comment can break out of the VM context using well-known techniques to run arbitrary Node.js code within the build process.
This is a build-time vulnerability: it does not affect browsers or end users. The code executes on the developer machine or CI/build server during a Webpack or Symfony Encore build. Realistic attack vectors include a malicious Stimulus controller introduced through a compromised dependency, or a pull request that triggers an automated CI build. An attacker who can get such a file into the build can read files and environment variables available to the build process, exfiltrate CI secrets, tamper with generated build artifacts, and run commands with the permissions of the build user.
The loader no longer evaluates comment content as JavaScript. It now parses each comment as an object expression using a real JavaScript parser and extracts only plain literal values. Any non-literal value, such as a function call, an identifier, or a sequence expression, is rejected and reported as a build error instead of being executed. Legitimate option values like 'lazy' and 'eager' continue to work without any changes required on the user's side.
CVE-2026-133779 is a cross-site scripting (XSS) vulnerability in the Symfony symfony/ux-icons package. The issue arises from improper sanitization of SVG icon attributes, allowing certain attributes to be interpreted differently by browsers and renderers, potentially enabling script execution. This affects versions 2.36.1 up to but not including 2.36.3, and 3.2.0 up to but not including 3.8.1. The vulnerability is addressed by improved attribute checks and sanitization in fixed versions 2.36.3 and 3.8.1.
CVE-2026-133778 is an incorrect authorization vulnerability in Symfony's symfony/ux-live-component. The issue arises because live components could be accessed via a default route that bypassed the intended firewall and access controls configured on a custom route. Although requests require application-signed props and controller attributes like #[IsGranted] still apply, the component could be rendered and actions executed outside the expected access restrictions. This vulnerability is fixed by restricting live components to be served only by their configured routes.
CVE-2026-133777 is a cross-site scripting (XSS) vulnerability in the Symfony symfony/ux-icons package. The issue arises because the sanitizer used to clean SVG icons before inline rendering did not fully account for how browsers parse inline SVG elements and switch to HTML parsing upon encountering certain tags. This allowed malicious markup to become active HTML, enabling injection of elements like <img> with event handlers, <base> to alter link targets, or <meta> for redirects. The vulnerability affects versions >=2.36.1 <2.36.3 and >=3.2.0 <3.8.1. It is fixed in versions 2.36.3 and 3.8.1 by improving the sanitizer to remove comments and elements that trigger HTML parsing, and by restricting content in <title> and <desc> elements.
CVE-2026-133776 is a cross-site scripting (XSS) vulnerability in Symfony's symfony/ux-icons component. The issue arises from how the sanitizer rewrites SVG icons containing certain elements like <style> in the XHTML namespace, causing escaped markup to be interpreted as live code by browsers. This can lead to script execution if an attacker can influence the SVG icons rendered by an application. The vulnerability affects versions 2.36.1 up to but not including 2.36.3 and 3.2.0 up to but not including 3.8.1. Fixed versions are 2.36.3 and 3.8.1.
CVE-2026-133775 is a cross-site scripting (XSS) vulnerability in the Symfony symfony/ux-icons package. It arises because SVG <style> elements were not properly sanitized, allowing JavaScript execution via embedded scripts or event handlers inside these elements. This vulnerability affects versions >=2.17.0 <2.36.3 and >=3.0.0 <3.8.1. The issue is fixed in versions 2.36.3 and 3.8.1 by sanitizing <style> elements to remove scripts and event handlers while preserving CSS. The vulnerability requires an attacker to influence the SVG icons rendered by the application.
A live component protected by #[IsGranted], on its class or on its default action, can be rendered by a caller who is not granted access. POST /_components/{name}/_batch is handled by Symfony\UX\LiveComponent\Controller\BatchActionController, which has no controller attributes: the attributes of the component are only checked by the sub-request issued for each action. With an empty actions list, no sub-request was issued, and the hydrated component was rendered and returned with a 200.
The caller needs a valid signed props payload for the component, such as the data-live-props-value of a page that rendered it: one the caller could see before losing access, or a cached or shared page. The checksum binds the props to the component name, not to a user, a session or a time, so such a payload can be replayed. Actions are not affected, since each action of a non-empty batch is still checked in its own sub-request. Components that load data from their props, like an entity identifier, disclose that data to the caller.
BatchActionController now rejects a batch without any action with a BadRequestHttpException. The JavaScript client never sends such a request: it uses the URL of the component when there is no action, /{action} for a single one and /_batch for two or more.
CVE-2026-118514 is an authorization bypass vulnerability in Symfony's http-foundation component affecting versions prior to 5.4.56, 6.4.50, 7.4.23, and 8.1.11. The issue arises because the RequestMatcher and MethodRequestMatcher classes compare HTTP methods verbatim, failing to account for the HTTP semantics where a HEAD request should be handled by the GET handler. This allows security rules configured only for GET requests to be bypassed by sending HEAD requests, potentially triggering controller execution and side effects. The vulnerability also affects firewalls configured to match only GET methods, as HEAD requests may bypass these firewalls. Fixed versions are available.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.22.0 until 2.36.0 and 3.1.0, Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::isLiveComponentRequest() gates #[LiveAction] invocations on Accept: application/vnd.live-component+html, but the Accept header is CORS-safelisted and cross-origin fetch() can set it without preflight, allowing forged cross-origin #[LiveAction] requests against a victim session when applications use SameSite=None, credentials: 'include', a permissive cookie policy, or a same-origin pivot. This issue is fixed in versions 2.36.0 and 3.1.0.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.2.0 until 2.36.0 and 3.1.0, the Stimulus controller in symfony/ux-autocomplete renders AJAX response items in _createAutocompleteWithRemoteData() by interpolating the text field into HTML template literals (<div>${item[labelField]}</div>) rather than text, allowing attacker-controlled markup from user-supplied dropdown values to execute in the browser of any user who opens an autocomplete widget backed by the same data. This issue is fixed in versions 2.36.0 and 3.1.0.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.2.0 until 2.36.0 and 3.1.0, Symfony\UX\Autocomplete\Doctrine\EntitySearchUtil::addSearchClause() builds the LIKE expression used by the autocomplete endpoint by wrapping the client-supplied query in %...% without escaping SQL LIKE wildcards (%, _, \), allowing unauthenticated users to turn the public BaseEntityAutocompleteType endpoint into a broad matcher or blind boolean oracle against every column in default searchable_fields. This issue is fixed in versions 2.36.0 and 3.1.0.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.8.0 until 2.36.0 and 3.1.0, when a #[LiveProp] is typed as DateTimeInterface and no explicit format is configured, Symfony\UX\LiveComponent\LiveComponentHydrator::hydrateObjectValue() falls back to new $className($value), allowing client-supplied relative strings such as now, tomorrow, or +10 years to move a writable, format-less date prop past time-based business logic checks. This issue is fixed in versions 2.36.0 and 3.1.0.