medium5.4
CVE-2026-49215
symfony/ux-live-component: CSRF Protection Bypass — Accept Header is CORS-Safelisted
Impact
Symfony UX is a JavaScript ecosystem for Symfony. From 2.22.0 until 2.36.0 and 3.1.0, Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::isLiveComponentRequest() gates #[LiveAction] invocations on Accept: application/vnd.live-component+html, but the Accept header is CORS-safelisted and cross-origin fetch() can set it without preflight, allowing forged cross-origin #[LiveAction] requests against a victim session when applications use SameSite=None, credentials: 'include', a permissive cookie policy, or a same-origin pivot. This issue is fixed in versions 2.36.0 and 3.1.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | symfony/ux-live-component | >= 2.22.0, < 2.36.0 | 2.36.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Symfony | Ux | from 2.22.0 before 2.36.0 Version 3.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-4m4j-hmqq-3gxm
- https://github.com/symfony/ux/security/advisories/GHSA-4m4j-hmqq-3gxm
- https://github.com/symfony/ux/commit/aed7493db2b4b7bf1f9c79b33cda544f06904b27
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-live-component/CVE-2026-49215.yaml
- https://github.com/symfony/ux/releases/tag/v2.36.0
- https://github.com/symfony/ux/releases/tag/v3.1.0