CVE-2025-22233Spring Framework
Low 3.1
Follow: this CVE · Spring · Spring Framework We alert you by email or Slack (account required).
- Priority
- 19
- CVSS 3.1
- 3.1
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 38
- Auth required
- Yes
- Published
- May 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
What happens
CVE-2024-38820 ensured Locale-independent, lowercase conversion for both the configured disallowedFields patterns and for request parameter names. However, there are still cases where it is possible to bypass the disallowedFields checks.
Affected Spring Products and Versions
Spring Framework:
* 6.2.0 - 6.2.6
* 6.1.0 - 6.1.19
* 6.0.0 - 6.0.27
* 5.3.0 - 5.3.42
* 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.7
OSS6.1.x
6.1.20
OSS6.0.x
6.0.28
Commercial https://enterprise.spring.io/ 5.3.x
5.3.43
Commercial https://enterprise.spring.io/
No further mitigation steps are necessary.
Generally, we recommend using a dedicated model object with properties only for data binding, or using constructor binding since constructor arguments explicitly declare what to bind together with turning off setter binding through the declarativeBinding flag. See the Model Design section in the reference documentation.
For setting binding, prefer the use of allowedFields (an explicit list) over disallowedFields.
Credit
This issue was responsibly reported by the TERASOLUNA Framework Development Team from NTT DATA Group Corporation.
What to do
- Apply the vendor's security update for Spring Framework.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework:spring-context |
≥ 6.2.0 < 6.2.7 |
6.2.7 |
— |
| Maven | org.springframework:spring-context |
≥ 6.1.0 < 6.1.20 |
6.1.20 |
— |
| Maven | org.springframework:spring-context |
≥ 6.0.0 ≤ 6.0.23 |
no fixed version | — |
| Maven | org.springframework:spring-context |
≤ 5.3.39 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-4wp7-92pw-q264). Check the version in your lockfile before upgrading.
Affected products
- Spring · Spring Framework
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.