HighGHSA-8wx2-9q48-vm9rCVE-2020-5398

RFD attack via Content-Disposition header sourced from request input by Spring MVC or Spring WebFlux Application

Published 21 Jan 2020 · Updated 10 Sept 2026

Is your project on an affected org.springframework:spring-webmvc?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=5.2.0.RELEASE <5.2.3.RELEASE
Fixed in
5.2.3.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-webmvc -DdepVersion=5.2.3.RELEASE -DforceVersion=true
Affected
>=5.1.0.RELEASE <5.1.13.RELEASE
Fixed in
5.1.13.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-webmvc -DdepVersion=5.1.13.RELEASE -DforceVersion=true
Affected
>=5.0.0.RELEASE <5.0.16.RELEASE
Fixed in
5.0.16.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-webmvc -DdepVersion=5.0.16.RELEASE -DforceVersion=true
Affected
>=5.2.0.RELEASE <5.2.3.RELEASE
Fixed in
5.2.3.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-webflux -DdepVersion=5.2.3.RELEASE -DforceVersion=true
Affected
>=5.1.0.RELEASE <5.1.13.RELEASE
Fixed in
5.1.13.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-webflux -DdepVersion=5.1.13.RELEASE -DforceVersion=true
Affected
>=5.0.0.RELEASE <5.0.16.RELEASE
Fixed in
5.0.16.RELEASE
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework:spring-webflux -DdepVersion=5.0.16.RELEASE -DforceVersion=true

Details

In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a "Content-Disposition" header in the response where the filename attribute is derived from user supplied input.

Is GHSA-8wx2-9q48-vm9r 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-webmvc, and gives you the command that fixes it.

More advisories for org.springframework:spring-webmvc

  • CriticalCVE-2026-47890Spring Framework Server Sent Event stream corruption while rendering fragments · 27 Aug 2026
  • CriticalCVE-2026-47884Spring Framework Improper Path Limitation in XsltView · 27 Aug 2026
  • MediumCVE-2026-41846Spring Framework Cross-site Scripting via JSP Form Tags · 9 Jun 2026
  • MediumCVE-2026-41853Spring Framework Multipart Request Smuggling in Spring MVC and WebFlux · 9 Jun 2026
  • HighCVE-2026-41845Spring Framework Cross-site Scripting via JavaScriptUtils · 9 Jun 2026
  • HighCVE-2026-41842Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux · 9 Jun 2026
All 27 advisories for org.springframework:spring-webmvc

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.