Spring Framework
CVE-2025-41254
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure authenticated user to malicious page
-
ExploitBrowser initiates STOMP-over-WebSocket request
-
ExecutionBypass message authorization checks
-
ImpactSend unauthorized STOMP messages as victim
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 the target application to use Spring's STOMP over WebSocket messaging support - applications not using STOMP/WebSocket are unaffected. The CVSS vector's UI:R means a victim must perform an action (e.g. visiting an attacker-controlled page) for the CSRF-style bypass to send unauthorized messages, which is the primary limiting factor. No attacker privileges are required (PR:N), but the attacker cannot read data or disrupt availability - impact is limited to unauthorized message sending (I:L, C:N, A:N). Affected versions span Spring Framework 5.3.0-5.3.45, 6.0.x-6.0.29, 6.1.0-6.1.23, and 6.2.0-6.2.11; upgrading to a fixed version (6.2.12 OSS, or commercial 6.1.24/5.3.46) removes the condition. |
| Impact | This is a moderate-severity CSRF-class issue (CWE-352) with a vendor CVSS of 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N) reported by VMware/Spring. The signals are internally consistent and point to LOW real-world priority rather than an urgent threat: network vector and low complexity are offset by the requirement for user interaction (UI:R), no privilege requirement but only limited integrity impact (I:L) and zero confidentiality/availability impact. EPSS is low at 0.31% (22nd percentile), the CVE is NOT on CISA KEV, and no public proof-of-concept is referenced, so exploitation status is 'no public exploit identified at time of analysis.' The impact is narrow - an attacker can cause unauthorized STOMP messages to be sent, not read data or crash the service. No signals conflict: low CVSS, low EPSS, no KEV, and no POC all align. The main caveat is exposure scope - this affects only applications that actually use STOMP over WebSocket, a specific Spring messaging feature, so blanket risk across all Spring deployments is overstated; risk is concentrated in that subset. |
| Exploit ScenarioDerived | A user authenticated to a vulnerable Spring application that exposes STOMP over WebSocket is lured to an attacker-controlled web page. That page uses the victim's browser and existing session to open or reuse a WebSocket/STOMP connection and send unauthorized STOMP messages that bypass the intended security checks, performing actions as the victim. No public exploit code is referenced, and success depends on the victim interacting with attacker content (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Spring Framework versions 5.3.0 through 6.2.11 are vulnerable to a CSRF bypass in STOMP over WebSocket support, allowing an unauthenticated attacker to send unauthorized messages by tricking a victim into visiting a malicious page. This moderate-severity issue (CVSS 4.3) requires user interaction and only affects applications using Spring's STOMP/WebSocket messaging; confidentiality and availability are not impacted. No public exploit identified at time of analysis, and the EPSS score is low (0.31%, 22nd percentile).
RemediationAI
Upgrade to the fixed versions: Spring Framework 6.2.12 (OSS), 6.1.24 (commercial), or 5.3.46 (commercial). Users on 6.0.x must upgrade to a supported version, as 6.0.x is out of support and no patch is available. The vendor states that no further mitigation steps are necessary after upgrading. The advisory is available at https://spring.io/security/cve/2025-41254. For commercial support, see https://enterprise.spring.io/. Applications not using STOMP over WebSocket are unaffected and do not require action.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in Spring Framework's support for STOMP (Simple Text Oriented Messaging Protocol) over WebSocket, a protocol used for real-time messaging in web applications. CWE-352 (Cross-Site Request Forgery) occurs when a web application fails to verify that a request was intentionally made by the user, allowing an attacker to send unauthorized messages on behalf of a victim. In this case, the security bypass likely stems from insufficient validation of the Origin header or missing CSRF protection for the WebSocket handshake or STOMP CONNECT frame. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N) indicates a network-based attack with low complexity, no privileges required, and user interaction required; the impact is limited to integrity (unauthorized message sending) with no confidentiality or availability impact. Affected versions span Spring Framework 5.3.0-5.3.45, 6.0.x-6.0.29, 6.1.0-6.1.23, and 6.2.0-6.2.11; no CPE strings were provided in the input data.
Know when Spring Framework gets its next vulnerability
- 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
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Network-reachable CSRF-style bypass needing victim interaction (UI:R) and no attacker privileges (PR:N); impact limited to sending unauthorized messages, so I:L with C:N/A:N.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
DescriptionCVE.org
STOMP over WebSocket applications may be vulnerable to a security bypass that allows an attacker to send unauthorized messages.
Affected Spring Products and VersionsSpring Framework:
- 6.2.0 - 6.2.11
- 6.1.0 - 6.1.23
- 6.0.x - 6.0.29
- 5.3.0 - 5.3.45
- Older, unsupported versions are also affected.
MitigationUsers of affected versions should upgrade to the corresponding fixed version.
Affected version(s)Fix versionAvailability6.2.x6.2.12OSS6.1.x6.1.24 Commercial https://enterprise.spring.io/ 6.0.xN/A Out of support https://spring.io/projects/spring-framework#support 5.3.x5.3.46 Commercial https://enterprise.spring.io/ No further mitigation steps are necessary.
CreditThis vulnerability was discovered and responsibly reported by Jannis Kaiser.
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.
More in Spring Framework
View allSpring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow app
The Spring OXM wrapper in Spring Framework before 3.2.4 and 4.0.0.M1, when using the JAXB marshaller, does not disable e
In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16,
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data b
The SourceHttpMessageConverter in Spring MVC in Spring Framework before 3.2.5 and 4.0.0.M1 through 4.0.0.RC1 does not di
Under some situations, the Spring Framework 4.2.0 to 4.2.1, 4.0.0 to 4.1.7, 3.2.0 to 3.2.14 and older unsupported versio
n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specia
The Spring MVC in Spring Framework before 3.2.4 and 4.0.0.M1 through 4.0.0.M2 does not disable external entity resolutio
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow app
Authorization bypass in Spring Framework WebFlux functional-endpoint applications deployed on DispatcherServlet allows a
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Server-side request forgery and remote code execution affect the Spring Framework's XsltView component across the 5.2.x
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB