High

Spring Framework URL Parsing with Host Validation

  • Disclosed: 16.04.2024
  • Updated: 11.10.2026 13:20

Applications that use UriComponentsBuilder 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-22259 https://spring.io/security/cve-2024-22259  and 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.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework:spring-web < 5.3.34, >= 6.0.0, < 6.0.19, >= 6.1.0, < 6.1.6 5.3.34, 6.0.19, 6.1.6

References

CVSS score 8.1/10
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.04.2024
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-2wrp-6fg6-hmc5 - 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.

All (13) in the archive
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

  1. 2018: 2
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 4
  6. 2023: 0
  7. 2024: 5
  8. 2025: 1
  9. 2026: 1
Severity:
  1. Spring Framework URL Parsing with Host Validation this entry
    High · 8.1 CVE-2024-22262 < 5.3.34, >= 6.0.0, < 6.0.19, >= 6.1.0, < 6.1.6 5.3.34, 6.0.19, 6.1.6
  2. High · 8.1 CVE-2024-22259 >= 6.1.0, < 6.1.5, >= 6.0.0, < 6.0.18, < 5.3.33 6.1.5, 6.0.18, 5.3.33
  3. High · 8.1 CVE-2024-22243 >= 6.1.0, < 6.1.4, >= 6.0.0, < 6.0.17, >= 5.3.0, < 5.3.32, <= 5.2.25.RELEASE 6.1.4, 6.0.17, 5.3.32
  4. High · 7.8 CVE-2021-22118 >= 5.2.0, < 5.2.15, >= 5.3.0, < 5.3.7 5.2.15, 5.3.7
  5. Critical · 9.8 CVE-2016-1000027 < 6.0.0 6.0.0

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.