GitHub Advisoryadvisory · Maven
GHSA-7fch-4f2f-jcgm Spring Framework STOMP over WebSocket applications may allow attackers to send unauthorized messages
MEDIUM
Official page ↗
- Aliases
- CVE-2025-41254
- Ecosystem
- Maven
- Packages
- org.springframework:spring-websocket
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-352
- Reviewed
- 2025-10-17
Affected packages
• Maven org.springframework:spring-websocket: >= 6.2.0, < 6.2.12 → fixed in 6.2.12
• Maven org.springframework:spring-websocket: >= 6.1.0, <= 6.1.21 (no fix yet)
• Maven org.springframework:spring-websocket: >= 6.0.0, <= 6.0.23 (no fix yet)
• Maven org.springframework:spring-websocket: <= 5.3.39 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2025-41254 STOMP over WebSocket applications may be vulnerable to a security bypass that allows an attacker to send unauthorized messages. vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness