title: RFD Attack via "Content-Disposition"  Header Sourced from Request Input by Spring MVC or Spring WebFlux Application
description: 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.
problem types: CWE-79: Cross-site Scripting (XSS) - Reflected
affected:
{
product: Spring Framework
vendor: Spring
versions:
lessThan: v5.0.16.RELEASE, status: affected, version: 5.0, versionType: custom
lessThan: v5.1.13.RELEASE, status: affected, version: 5.1, versionType: custom
lessThan: v5.2.3.RELEASE, status: affected, version: 5.2, versionType: custom
}
metrics:
cvssV3_0: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
version: 3.0
]