Intel

AIKIDO-2026-11074

symfony/ux-live-component is vulnerable to Cross Site Scripting (XSS)

Cross Site Scripting (XSS)CVE-2026-49210 Published Yesterday

54

Medium Risk

This Affects:

PHPsymfony/ux-live-component
2.8.0 - 2.35.0
Fixed in 2.36.0
3.0.0 - 3.0.0
Fixed in 3.1.0
Are you affected? Scan for Free

TL;DR

Symfony UX LiveComponent's ChildComponentPartialRenderer::createHtml() interpolates the $childTag value directly into HTML without escaping or validation. The value comes from the client-supplied children[id].tag field handled by LiveComponentSubscriber and InterceptChildComponentRenderSubscriber, so an attacker who can reach the Live Component endpoint can inject arbitrary HTML, including <script> tags, on any re-render of a component that has a child component. The endpoint is normally protected by an Accept: application/vnd.live-component+html header check, but that gate can be bypassed via relaxed CORS or a same-origin XSS pivot. The fix validates $childTag against a strict HTML tag-name regex and rejects non-matching values.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

symfony/ux-live-component is vulnerable to Cross Site Scripting (XSS) in versions 2.8.0 - 2.35.0 and 3.0.0 - 3.0.0.

How to fix this

Upgrade the symfony/ux-live-component library to the patch version.