cve.bz

CVE-2025-22233 spring spring framework: Improper Input Validation

3.1 lowEPSS 0.4%Fix available

Low (3.1) in spring spring framework. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-context 6.1.20, 6.2.7.

On this page
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.

Severity

CVSS 3.1

3.1 low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework:spring-context (Maven): fixed in 6.2.7, 6.1.20

Ask an AI about this CVE

Show the promptExplain CVE-2025-22233 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22233?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22233?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22233 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring Frameworkfrom 6.2.0 through 6.2.6
Spring Frameworkfrom 6.1.0 through 6.1.19
Spring Frameworkfrom 6.0.0 through 6.0.27
Spring Frameworkfrom 5.3.0 through 5.3.42

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4wp7-92pw-q264Mavenorg.springframework:spring-context>=6.2.0 <6.2.76.2.7
GHSA-4wp7-92pw-q264Mavenorg.springframework:spring-context>=6.1.0 <6.1.206.1.20
GHSA-4wp7-92pw-q264Mavenorg.springframework:spring-context>=6.0.0 <=6.0.23no fix published
GHSA-4wp7-92pw-q264Mavenorg.springframework:spring-context<=5.3.39no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libspring-javano fix listedDEBIAN-CVE-2025-22233
Ubuntu25.10, 26.04:LTS, 26.10 and 6 morelibspring-javano fix listedUBUNTU-CVE-2025-22233

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON