Intel

AIKIDO-2026-11074

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

CVE-2026-49210Published Jun 4, 2026
June 4, 2026

54

CVE Score

Medium

Cross Site Scripting (XSS)

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.

How do I fix this?

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

Who does this affect?

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

Versions

2.8.0 - 2.35.0

Fixed in 2.36.0

3.0.0 - 3.0.0

Fixed in 3.1.0

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.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea