Spring Security Advisories

CVE-2024-22262: Spring Framework URL Parsing with Host Validation (3rd report)

HIGH | APRIL 11, 2024 | CVE-2024-22262


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 attack or to a SSRF attack if the URL is used after passing validation checks.

This is the same as CVE-2024-22259 and CVE-2024-22243, but with different input.

Affected Spring Products and Versions

Spring Framework

  • 6.1.0 - 6.1.5
  • 6.0.0 - 6.0.18
  • 5.3.0 - 5.3.33
  • Older, unsupported versions are also affected


Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s)Fix versionAvailability


The issue was identified and responsibly reported by L0ne1y.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all