Spring Framework URL Parsing with Host Validation Vulnerability
Applications that use UriComponentsBuilder in Spring Framework to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243, but with different input.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring-web | >= 6.1.0, < 6.1.5, >= 6.0.0, < 6.0.18, < 5.3.33 | 6.1.5, 6.0.18, 5.3.33 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22259
- https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb
- https://github.com/spring-projects/spring-framework/commit/381f790329a48b74c2a49fc1384dd68ca9153501
- https://github.com/spring-projects/spring-framework/commit/f2fd2f12269c6a781c5b2c20b3c24141055a3d68
- https://github.com/spring-projects/spring-framework
- https://security.netapp.com/advisory/ntap-20240524-0002
- https://spring.io/security/cve-2024-22259
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-601- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring-web- Disclosed
- 16.03.2024
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hgjh-9rj2-g67j - CC BY 4.0
Vulnerability history: org.springframework:spring-web
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 10.2018 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 4
- Medium 8
Disclosures per year
- 2018: 2
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 4
- 2023: 0
- 2024: 5
- 2025: 1
- 2026: 1
-
Spring Framework URL Parsing with Host Validation Vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.