CVE-2026-49210
Published:June 19, 2026
Updated:June 21, 2026
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" (https://github.com/symfony/ux/commit/fbc5e9a1bda7e4556be21bb1d970f382760ed9a9) 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.
Affected Packages
https://github.com/symfony/ux.git (GITHUB):
Affected version(s) >=v1.0.0 <v2.36.0Fix Suggestion:
Update to version v2.36.0symfony/ux-live-component (PHP):
Affected version(s) >=v2.8.0 <v2.36.0Fix Suggestion:
Update to version v2.36.0symfony/ux-live-component (PHP):
Affected version(s) =v3.0.0 <v3.1.0Fix Suggestion:
Update to version v3.1.0Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')