Skip to main content

Spring Framework CVE-2025-41254

MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2025-10-16 security@vmware.com
4.3
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated user to malicious page
  2. Exploit
    Browser initiates STOMP-over-WebSocket request
  3. Execution
    Bypass message authorization checks
  4. Impact
    Send 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven org.springframework:spring-websocket fix: 6.2.12

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

Vendor (vmware) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 4.3 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
Spring Framework is a widely deployed enterprise Java framework
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

CVE-2018-1270 CRITICAL POC
9.8 Apr 06

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

CVE-2013-4152 MEDIUM POC
6.8 Jan 23

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

CVE-2020-5398 HIGH
7.5 Jan 17

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,

CVE-2022-22965 CRITICAL POC
9.8 Apr 01

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data b

CVE-2013-6429 MEDIUM
6.8 Jan 26

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

CVE-2015-5211 CRITICAL POC
9.6 May 25

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

CVE-2022-22950 MEDIUM
6.5 Apr 01

n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specia

CVE-2013-7315 MEDIUM POC
6.8 Jan 23

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

CVE-2018-1271 MEDIUM POC
5.9 Apr 06

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

CVE-2026-47892 CRITICAL
9.8 Aug 27

Authorization bypass in Spring Framework WebFlux functional-endpoint applications deployed on DispatcherServlet allows a

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-47884 CRITICAL
9.8 Aug 27

Server-side request forgery and remote code execution affect the Spring Framework's XsltView component across the 5.2.x

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy