MediumGHSA-7m2p-62gw-p8qqCVE-2026-41854
Spring Framework Server-Side Request Forgery via UriComponentsBuilder
Published 9 Jun 2026 · Updated 6 Aug 2026
Is your project on an affected org.springframework:spring-web?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=7.0.0 <7.0.8
- Fixed in
- 7.0.8
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-web -DdepVersion=7.0.8 -DforceVersion=true- Affected
- >=6.2.0 <6.2.19
- Fixed in
- 6.2.19
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-web -DdepVersion=6.2.19 -DforceVersion=trueDetails
Due to incorrect host parsing, applications that rely on UriComponentsBuilder to parse and validate an externally provided URL string may be exposed to a server-side request forgery (SSRF) attack.
Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18.
Is GHSA-7m2p-62gw-p8qq in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-web, and gives you the command that fixes it.
More advisories for org.springframework:spring-web
- MediumCVE-2025-41234Spring Framework vulnerable to a reflected file download (RFD) · 13 Jun 2025
- MediumCVE-2024-38820Spring Framework DataBinder Case Sensitive Match Exception · 18 Oct 2024
- MediumCVE-2024-38809Spring Framework DoS via conditional HTTP request · 24 Sept 2024
- HighCVE-2024-22262Spring Framework URL Parsing with Host Validation · 16 Apr 2024
- HighCVE-2024-22259Spring Framework URL Parsing with Host Validation Vulnerability · 16 Mar 2024
- HighCVE-2024-22243Spring Web vulnerable to Open Redirect or Server Side Request Forgery · 23 Feb 2024
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.