Cross-site Request Forgery (CSRF) Affecting spring-core package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (13th 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-RHEL7-SPRINGCORE-13657280
  • published22 Oct 2025
  • disclosed16 Oct 2025

Introduced: 16 Oct 2025

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

How to fix?

There is no fixed version for RHEL:7 spring-core.

NVD Description

Note: Versions mentioned in the description apply only to the upstream spring-core package and not the spring-core package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1