# CVE-2025-41254: Spring Framework STOMP CSRF Vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-352
- **Aliases:** GHSA-7fch-4f2f-jcgm
- **Published:** 2025-10-16T14:48:37.350Z
- **Modified:** 2026-10-09T10:10:00.193Z

## Who should check

- Projects that depend on Maven package org.springframework:spring-websocket (\>= 6.2.0, \< 6.2.12)
- Anyone running VMware Spring Framework 5.3.x; 6.0.x; 6.1.x; 6.2.x

## Description

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

Affected Spring Products and VersionsSpring 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.


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

Affected version(s)Fix versionAvailability6.2.x6.2.12OSS6.1.x6.1.24 Commercial https://enterprise.spring.io/ 6.0.xN/A Out of support https://spring.io/projects/spring-framework\#support 5.3.x5.3.46 Commercial https://enterprise.spring.io/ No further mitigation steps are necessary.

CreditThis vulnerability was discovered and responsibly reported by Jannis Kaiser.

## Affected and fixed versions

- Maven `org.springframework:spring-websocket`: affected \>= 6.2.0, \< 6.2.12; fixed 6.2.12 (osv)
- VMware Spring Framework: 5.3.x; 6.0.x; 6.1.x; 6.2.x (cvelist)

## Mitigation

- Upgrade org.springframework:spring-websocket to 6.2.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-41254. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-41254.md
Affected: org.springframework:spring-websocket >= 6.2.0, < 6.2.12
Fixed in: 6.2.12

Steps:
1. Search this machine and project for org.springframework:spring-websocket (Maven), VMware Spring Framework: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-41254 being exploited?

There is no confirmed exploitation: CVE-2025-41254 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-41254?

Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-41254?

org.springframework:spring-websocket \>= 6.2.0, \< 6.2.12.

### Is there a fix for CVE-2025-41254?

Yes. Fixed in 6.2.12. Upgrade org.springframework:spring-websocket to 6.2.12 or later.

### How do I check if I'm affected by CVE-2025-41254?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-41254>
- other: <https://spring.io/security/cve/2025-41254>
- other: <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N&version=3.1>
- other: <https://github.com/spring-projects/spring-framework>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-41254>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7fch-4f2f-jcgm> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-41254> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-41254>
