# symfony/ux-live-component: XSS via attacker-controlled child component tag

Advisory record · `GHSA-38x5-rcv4-xf7x`

- **Identifiers:** `GHSA-38x5-rcv4-xf7x` · `CVE-2026-49210` · `PKSA-87hx-5gp4-x12b`
- **State:** Confirmed
- **Severity:** CVSS 2.3 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 19 Jun 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 Jun 2026, 19:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `symfony/ux-live-component` (Packagist): affected `>=2.8.0, <2.36.0 || >=3.0.0, <3.1.0`; fixed in `2.36.0`, `3.1.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The symfony/ux-live-component Packagist package is vulnerable to cross-site scripting in versions from 2.8.0 before 2.36.0 and from 3.0.0 before 3.1.0. A child component's tag name taken from client-controlled JSON is inserted into re-rendered HTML without escaping or validation. Under default settings the Live Component endpoint requires a custom Accept header that cannot be sent cross-origin without a CORS preflight, so the source calls this mainly a defense-in-depth gap, though it becomes directly exploitable where CORS is relaxed for that header. Upgrade to 2.36.0 or 3.1.0.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 2.3 Low, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0034, the 27th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 13:58 UTC: First seen by agentprime
- 31 Oct 2026, 13:58 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-38x5-rcv4-xf7x)

## Sources

- [GitHub Advisory Database: GHSA-38x5-rcv4-xf7x](https://github.com/advisories/GHSA-38x5-rcv4-xf7x)
- [OSV: GHSA-38x5-rcv4-xf7x](https://osv.dev/vulnerability/GHSA-38x5-rcv4-xf7x)
- <https://github.com/symfony/ux/security/advisories/GHSA-38x5-rcv4-xf7x>
- <https://github.com/symfony/ux/commit/fbc5e9a1bda7e4556be21bb1d970f382760ed9a9>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-live-component/CVE-2026-49210.yaml>
- <https://github.com/symfony/ux>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-38x5-rcv4-xf7x>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-38x5-rcv4-xf7x/>. Everything for agents: <https://agentprime.io/llms.txt>.
