Cross-site Request Forgery (CSRF) Affecting symfony/ux-live-component package, versions >=2.22.0, <2.36.0>=3.0.0, <3.1.0


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYUXLIVECOMPONENT-17339265
  • published15 Jun 2026
  • disclosed29 May 2026
  • creditHugo Alliaume

Introduced: 29 May 2026

CVE-2026-49215  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade symfony/ux-live-component to version 2.36.0, 3.1.0 or higher.

Overview

symfony/ux-live-component is a Live components for Symfony

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via insufficient CSRF protection for #[LiveAction] methods in symfony/ux-live-component. An attacker can invoke server-side actions on behalf of an authenticated user by issuing cross-origin requests with an Accept: application/vnd.live-component+html header. Because the Accept header is CORS-safelisted and can be set without triggering a preflight request, it does not provide effective CSRF protection, allowing forged requests to mutate server-side state.

Note: In practice, exploitation is mitigated when session cookies use SameSite=Lax (Symfony's default). Applications using SameSite=None, permissive cookie policies, or reachable through another same-origin vector remain vulnerable.

CVSS Base Scores

version 4.0
version 3.1