Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim loads attacker-controlled page
-
DeliveryCross-origin fetch() crafted with Accept header
-
ExploitBrowser skips CORS preflight (safelisted header)
-
ExecutionServer validates only Accept header, accepts request
-
PersistLiveAction method executes under victim session
-
ImpactUnauthorized server-side state mutation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following: (1) the target application runs symfony/ux-live-component >= 2.22.0,< 2.36.0 or >= 3.0.0, < 3.1.0 without the patch applied; (2) the application exposes at least one method annotated with #[LiveAction] that performs meaningful state mutation; and (3) the victim's session cookie is not protected by SameSite=Lax or SameSite=Strict - specifically, the application must use SameSite=None, or the attacker must have a same-origin foothold (e.g., stored XSS on the same domain) to bypass Lax restrictions. The critical limiting factor for most deployments is Symfony's default SameSite=Lax cookie configuration, which prevents cross-site cookie attachment for AJAX/fetch requests and blocks the primary attack path. Applications that have explicitly opted into SameSite=None - typically to support cross-site embedding or third-party integrations - receive no such protection and are directly exploitable with a simple cross-origin fetch() call carrying only the Accept header. |
| Impact | No CVSS score was provided by NVD or the vendor for this CVE; the assessed vector below is analyst-derived. The vulnerability is not listed in the CISA KEV catalog and no public proof-of-concept has been identified, so real-world exploitation probability is currently low. The most significant limiting factor for most deployments is Symfony's default SameSite=Lax session cookie policy: Lax prevents cross-site cookie attachment for non-navigational requests (fetch, XHR), blocking the majority of cross-origin CSRF attack paths. Risk is materially elevated for applications that have opted into SameSite=None cookies (common for embedded or iframe scenarios), use credentials: 'include' with a permissive CORS policy, or are exposed to a same-origin attack vector such as a stored XSS that could serve as a pivot. The impact of successful exploitation depends entirely on what #[LiveAction] methods are exposed - ranging from low (toggling UI state) to high (submitting forms, deleting records, changing account data). Because SameSite=Lax is a deployment-time control rather than a code-level defense, the underlying vulnerability remains real for a meaningful subset of production deployments. |
| Exploit ScenarioDerived | An attacker hosts a web page containing a script that calls fetch('https://victim-app.example.com/live-component-endpoint', { method: 'POST', credentials: 'include', headers: { 'Accept': 'application/vnd.live-component+html' }, body: '...' }). If the victim browses to this page while authenticated and their session cookie is configured with SameSite=None (or the attacker controls same-origin content via XSS), the browser attaches the victim's session cookie without issuing a CORS preflight, and the server processes the forged #[LiveAction] call as if it originated legitimately from the victim's browser. No public proof-of-concept code has been identified at the time of this analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
CSRF protection bypass in symfony/ux-live-component allowed cross-origin invocation of any server-side #[LiveAction] method against an authenticated victim's session. The library incorrectly relied on the Accept: application/vnd.live-component+html header as a CSRF guard, but per the Fetch specification §3.2.2 this is a CORS-safelisted header, meaning cross-origin fetch() calls can include it without triggering a preflight OPTIONS request. Applications using SameSite=None cookies or those reachable via a same-origin pivot (e.g., XSS on the same domain) are genuinely exposed; Symfony's default SameSite=Lax policy substantially mitigates the risk for standard deployments. No public exploit has been identified and this vulnerability is not listed in the CISA KEV catalog.
RemediationAI
Upgrade symfony/ux-live-component to version 2.36.0 (for 2.x installations) or 3.1.0 (for 3.x installations). These versions add a mandatory X-Requested-With: XMLHttpRequest header check in isLiveComponentRequest(); the bundled Stimulus controller (RequestBuilder.ts) already sends this header on every LiveComponent request, so standard usage requires no client-side changes. The patch commit is available at https://github.com/symfony/ux/commit/aed7493db2b4b7bf1f9c79b33cda544f06904b27. If immediate upgrade is not possible, the most effective compensating control is to confirm session cookies are configured with SameSite=Lax (Symfony's default) - this blocks the majority of cross-origin CSRF paths at the browser layer, though it does not protect against same-origin pivots such as stored XSS. Applications that require SameSite=None for cross-site embedding should treat upgrade as urgent. Note a minor breaking change: any custom cross-origin callers of LiveComponent endpoints must add X-Requested-With to their CORS Access-Control-Allow-Headers allow-list or their requests will begin failing preflight checks after the upgrade. The GitHub Security Advisory is at https://github.com/symfony/ux/security/advisories/GHSA-4m4j-hmqq-3gxm.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
symfony/ux-live-component (pkg:composer/symfony/ux-live-component) is a Symfony UX package that implements reactive, AJAX-driven server-side components using a Stimulus JavaScript controller. Methods on component classes annotated with #[LiveAction] are invokable from the browser via AJAX, mutating server-side state. The LiveComponentSubscriber::isLiveComponentRequest() method in src/LiveComponent/src/EventListener/LiveComponentSubscriber.php gated these invocations on the presence of a custom Accept header value (application/vnd.live-component+html), with a code comment explicitly describing this as CSRF protection. The flaw (CWE-352, Cross-Site Request Forgery) is a design error: the Fetch specification lists Accept as a CORS-safelisted request header, which means a browser will dispatch a cross-origin fetch() containing that header without first issuing a preflight OPTIONS request. Without a preflight, the browser attaches the victim's session cookies, and the server sees a structurally valid LiveComponent request from an arbitrary origin. The fix adds a mandatory check for X-Requested-With: XMLHttpRequest, a non-safelisted header that forces a preflight for any cross-origin caller; since Symfony does not advertise CORS for LiveComponent endpoints the preflight fails, blocking the forged request before it reaches application logic.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-delivered CSRF requiring active victim interaction (UI:R, PR:N); integrity-only impact since LiveActions mutate state without inherent data exfiltration.
Primary rating from Vendor (https://github.com/symfony/ux).
CVSS VectorVendor: https://github.com/symfony/ux
Lifecycle Timeline
1DescriptionCVE.org
Description
When using symfony/ux-live-component, methods annotated with #[LiveAction] are invokable from the browser and mutate server-side state via AJAX. Symfony\UX\LiveComponent\EventListener\LiveComponentSubscriber::isLiveComponentRequest() gated these invocations on the presence of Accept: application/vnd.live-component+html, with a code comment stating that this acted as a CSRF protection.
The Accept header is a CORS-safelisted request header, so a cross-origin fetch() can set it without triggering a preflight. The header therefore provided no CSRF protection. Any #[LiveAction] could be forged cross-origin against a victim's session.
In practice the attack is mitigated by SameSite=Lax session cookies (Symfony's default), but applications using SameSite=None, credentials: 'include' with a permissive cookie policy, or that have been pivoted from another same-origin vector remained exposed.
Resolution
isLiveComponentRequest() now additionally requires the request header X-Requested-With: XMLHttpRequest. This header is not CORS-safelisted, so the browser issues a preflight OPTIONS request for any cross-origin attempt; Symfony does not advertise CORS for LiveComponent endpoints, the preflight fails, and the real request is blocked before it reaches the application. The bundled Stimulus client already sends X-Requested-With on every LiveComponent request (RequestBuilder.ts), so standard usage is unaffected. Cross-origin callers must add X-Requested-With to their CORS Access-Control-Allow-Headers allow-list.
The patch for this issue is available here for branch 2.x (and forward-ported to 3.x).
Credits
Symfony would like to thank Anthropic (via Project Glasswing) for reporting the issue and Hugo Alliaume for providing the fix.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-45218
GHSA-4m4j-hmqq-3gxm
NVD
CVE.org
EPSS
Exploit-DB