Spring Framework STOMP CSRF Vulnerability

MEDIUM | OCTOBER 16, 2025 | CVE-2025-41254

Description

STOMP over WebSocket applications may be vulnerable to a security bypass that allows an attacker to send unauthorized messages.

Affected Spring Products and Versions

Spring Framework:

  • 6.2.0 - 6.2.11
  • 6.0.0 - 6.1.23
  • 5.3.45 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
6.2.12OSS
6.1.24Enterprise Support Only
5.3.46Enterprise Support Only

No further mitigation steps are necessary.

Credit

This vulnerability was discovered and responsibly reported by Jannis Kaiser.

History

  • 2025-10-16: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all