Skip to content
OpenAdvisories
Low · 2.1 CVE-2026-49215 EUVD-2026-45218GHSA-4m4j-hmqq-3gxm

Symfony UX: CSRF Protection Bypass in symfony/ux-live-component — Accept Header is CORS-Safelisted

Published Jul 17, 2026 · Updated Jul 17, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
symfony ux >= 3.0.0, < 3.1.0, >= 2.22.0, < 2.36.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/ux-live-component >= 2.22.0, < 2.36.0 2.36.0 GHSA-4m4j-hmqq-3gxm
Packagist symfony/ux-live-component >= 3.0.0, < 3.1.0 3.1.0 GHSA-4m4j-hmqq-3gxm

References