Cross-site Request Forgery (CSRF) Affecting org.springframework:spring-websocket package, versions [,6.2.12)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th 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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-13608629
  • published17 Oct 2025
  • disclosed16 Oct 2025
  • creditJannis Kaiser

Introduced: 16 Oct 2025

NewCVE-2025-41254  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.springframework:spring-websocket to version 6.2.12 or higher.

Overview

org.springframework:spring-websocket is a framework that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the StompSubProtocolHandler module. An attacker can perform unauthorized actions on behalf of authenticated users by tricking them into submitting malicious requests.

CVSS Base Scores

version 4.0
version 3.1