CVE-2025-41254
Java vulnerability analysis and mitigation

Overview

CVE-2025-41254 is a Spring Framework STOMP CSRF Vulnerability discovered and reported by Jannis Kaiser on October 16, 2025. The vulnerability affects multiple versions of Spring Framework including 6.2.0-6.2.11, 6.1.0-6.1.23, 6.0.x-6.0.29, and 5.3.0-5.3.45, as well as older unsupported versions (Spring Security).

Technical details

The vulnerability is classified as a Cross-Site Request Forgery (CSRF) vulnerability (CWE-352) that affects STOMP over WebSocket applications. It enables a security bypass allowing attackers to send unauthorized messages. The vulnerability has been assigned a CVSS v3.1 base score of 4.3 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, indicating network accessibility, low attack complexity, no privileges required, and user interaction required (NVD).

Impact

The vulnerability allows attackers to send unauthorized messages through STOMP over WebSocket applications, potentially compromising the integrity of the application's messaging system. The CVSS scoring indicates low impact on integrity with no direct impact on confidentiality or availability (VMware CVSS).

Mitigation and workarounds

Users of affected versions should upgrade to the corresponding fixed versions: 6.2.12 (OSS), 6.1.24 (Commercial), or 5.3.46 (Commercial). Version 6.0.x is out of support and has no fix available. Commercial customers using Spring Boot 2.7, 3.1, or 3.2 can utilize Spring Boot Hotfix releases 2.7.29.2, 3.2.18.2, and 3.3.15.2 (Spring Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-41253HIGH7.5
  • JavaJava
  • org.springframework.cloud:spring-cloud-gateway-server-webflux
NoNoOct 16, 2025
CVE-2025-11849MEDIUM6.4
  • JavaScriptJavaScript
  • Mammoth
NoYesOct 17, 2025
GHSA-3xgr-h5hq-7299MEDIUM5.9
  • JavaJava
  • org.opensearch.dataprepper.plugins:geoip-processor
NoYesOct 15, 2025
CVE-2025-41254MEDIUM4.3
  • JavaJava
  • org.springframework:spring-websocket
NoYesOct 16, 2025
CVE-2024-31573MEDIUM4
  • JavaJava
  • org.xmlunit:xmlunit-core
NoYesOct 17, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management