Description
Symfony UX is a JavaScript ecosystem for Symfony. From 2.8.0 until 2.36.0 and 3.1.0, Symfony\UX\LiveComponent\Util\ChildComponentPartialRenderer::createHtml() interpolates the client-controlled children[id].tag value from LiveComponentSubscriber and InterceptChildComponentRenderSubscriber directly into HTML as a tag name without escaping or validation, allowing arbitrary HTML, including <script> tags, on any Live Component re-render that contains at least one child component. This issue is fixed in versions 2.36.0 and 3.1.0.
Published: 2026-07-17
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Symfony UX LiveComponent rendering is affected because the createHtml() function interpolates the client‑controlled children[id].tag value directly into the HTML as a tag name without escaping or validation. This allows an attacker to supply arbitrary HTML, such as <script> tags, so that any LiveComponent re‑render containing at least one child component can inject malicious content. The injected code is reflected in the users’ browsers, providing a client‑side XSS vector.

Affected Systems

Any application using Symfony/UX library version 2.8.0 through 2.35.x, or any 3.0.x release, where LiveComponentSubscriber and InterceptChildComponentRenderSubscriber are active is vulnerable. The issue is fixed in library releases 2.36.0 and 3.1.0.

Risk and Exploitability

The vulnerability has a CVSS score of 2.3 and an EPSS score of less than 1 %. It is not listed in the CISA KEV catalog. Based on the description, it is inferred that exploitation requires an attacker to control the child component tag value that will be rendered; this is usually possible via user input that triggers a LiveComponent re‑render. Because the attack only injects client‑side code, the impact is limited to victim browsers and is mitigated by applying the fix or validating the tag name.

Generated by OpenCVE AI on July 31, 2026 at 00:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Symfony/UX to version 2.36.0 or higher, or 3.1.0 or higher, where the child component tag is validated and escaped.
  • If upgrading is not immediately possible, implement server‑side validation of the child component tag names, allowing only a whitelist of known safe tags such as div, span, p, etc., before they are rendered.
  • Configure or modify the LiveComponentSubscriber to reject or sanitize any child component tag that is not on the whitelist, ensuring that no arbitrary tags are emitted into the HTML output.

Generated by OpenCVE AI on July 31, 2026 at 00:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-38x5-rcv4-xf7x symfony/ux-live-component: XSS via attacker-controlled child component tag
History

Fri, 17 Jul 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Symfony
Symfony ux
Vendors & Products Symfony
Symfony ux

Fri, 17 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Description Symfony UX is a JavaScript ecosystem for Symfony. From 2.8.0 until 2.36.0 and 3.1.0, Symfony\UX\LiveComponent\Util\ChildComponentPartialRenderer::createHtml() interpolates the client-controlled children[id].tag value from LiveComponentSubscriber and InterceptChildComponentRenderSubscriber directly into HTML as a tag name without escaping or validation, allowing arbitrary HTML, including <script> tags, on any Live Component re-render that contains at least one child component. This issue is fixed in versions 2.36.0 and 3.1.0.
Title Symfony UX: XSS in symfony/ux-live-component via attacker-controlled child component tag
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-17T16:52:59.836Z

Reserved: 2026-05-28T03:42:34.340Z

Link: CVE-2026-49210

cve-icon Vulnrichment

Updated: 2026-07-17T16:52:54.273Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:15:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')