Media

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

  • Publicada: 19.06.2026
  • Actualizado: 11.10.2026 10:22

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.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de Composer symfony/ux-live-component >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0

Referencias

Puntuación CVSS -
Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Debilidad (CWE)
CWE-79
Plataforma
Composer
Paquete
symfony/ux-live-component
Publicada
19.06.2026
Actualizado
11.10.2026 10:22

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-38x5-rcv4-xf7x - CC BY 4.0

Historial de vulnerabilidades: symfony/ux-live-component

Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Entradas en total
6
Primera → última
05.2025 06.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Media 3
  • Baja 3

Divulgaciones por año

  1. 2025: 1
  2. 2026: 5
  1. Baja CVE-2026-49215 >= 2.22.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  2. Baja CVE-2026-49212 >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  3. symfony/ux-live-component: XSS via attacker-controlled child component tag esta entrada
    Media CVE-2026-49210 >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  4. Baja CVE-2026-49209 >= 2.5.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  5. Media CVE-2026-49208 >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.