Spring Framework STOMP over WebSocket applications may allow attackers to send unauthorized messages

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.1.0 - 6.1.23
  • 6.0.x - 6.0.29
  • 5.3.0 - 5.3.45
  • Older, unsupported versions are also affected.

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.

Affected version(s)

Fix version Availability
6.2.x 6.2.12 OSS
6.1.x 6.1.24 Commercial https://enterprise.spring.io/
6.0.x N/A Out of support https://spring.io/projects/spring-framework#support
5.3.x 5.3.46 Commercial https://enterprise.spring.io/

No further mitigation steps are necessary.

CreditThis vulnerability was discovered and responsibly reported by Jannis Kaiser.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2025-10-16 15:30:43 UTC
Updated
2025-10-17 17:37:16 UTC
GitHub reviewed
2025-10-17 17:37:14 UTC
NVD published
2025-10-16 15:15:33 UTC

EPSS Score

Score Percentile
0.06% 18.91%

CVSS Scores

Base score Version Severity Vector
4.3 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-352 Cross-Site Request Forgery (CSRF)

Affected packages (4)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven org.springframework:spring-websocket >= 6.2.0, < 6.2.12 6.2.12
maven org.springframework:spring-websocket >= 6.1.0, <= 6.1.21
maven org.springframework:spring-websocket >= 6.0.0, <= 6.0.23
maven org.springframework:spring-websocket <= 5.3.39

References

cvelogic Threat Intelligence