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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| symfony | ux | >= 3.0.0, < 3.1.0, >= 2.8.0, < 2.36.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | symfony/ux-live-component | >= 2.8.0, < 2.36.0 | 2.36.0 | GHSA-38x5-rcv4-xf7x |
| Packagist | symfony/ux-live-component | >= 3.0.0, < 3.1.0 | 3.1.0 | GHSA-38x5-rcv4-xf7x |