cve.bz

CVE-2020-5398 Download of Code Without Integrity Check

7.5 highEPSS 88%Fix available

High (7.5). EPSS 88% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-webmvc 5.0.16.RELEASE, 5.1.13.RELEASE, 5.2.3.RELEASE.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
88% (unchanged from 88% a week ago; 89% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-494 Download of Code Without Integrity Check
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-5398 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-5398?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-5398?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-5398 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2020-5398

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2020-5398](https://cve.bz/cve/badge/CVE-2020-5398.svg)](https://cve.bz/cve/CVE-2020-5398)

HTML:

<a href="https://cve.bz/cve/CVE-2020-5398"><img src="https://cve.bz/cve/badge/CVE-2020-5398.svg" alt="CVE-2020-5398"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring Frameworkfrom 5.0 before v5.0.16.RELEASE
Spring Frameworkfrom 5.1 before v5.1.13.RELEASE
Spring Frameworkfrom 5.2 before v5.2.3.RELEASE

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8wx2-9q48-vm9rMavenorg.springframework:spring-webmvc>=5.2.0.RELEASE <5.2.3.RELEASE5.2.3.RELEASE
GHSA-8wx2-9q48-vm9rMavenorg.springframework:spring-webmvc>=5.1.0.RELEASE <5.1.13.RELEASE5.1.13.RELEASE
GHSA-8wx2-9q48-vm9rMavenorg.springframework:spring-webmvc>=5.0.0.RELEASE <5.0.16.RELEASE5.0.16.RELEASE
GHSA-8wx2-9q48-vm9rMavenorg.springframework:spring-webflux>=5.2.0.RELEASE <5.2.3.RELEASE5.2.3.RELEASE
GHSA-8wx2-9q48-vm9rMavenorg.springframework:spring-webflux>=5.1.0.RELEASE <5.1.13.RELEASE5.1.13.RELEASE
GHSA-8wx2-9q48-vm9rMavenorg.springframework:spring-webflux>=5.0.0.RELEASE <5.0.16.RELEASE5.0.16.RELEASE

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.04:LTS, 26.10 and 6 morelibspring-javano fix listedUBUNTU-CVE-2020-5398

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue does not affect the version of SpringFramework (embedded in rhevm-dependencies) shipped with Red Hat Gluster Storage 3, as it does not provide support for spring-web.

This issue does not affect the version of SpringFramework (embedded in rhvm-dependencies) shipped with Red Hat Virtualization, as it does not provide support for spring-web.

ProductPackageStateAdvisory
Red Hat Fuse 7.8.0springframeworkFixed 2020-12-16RHSA-2020:5568
Red Hat JBoss BRMS 5springframeworkOut of support scope
Red Hat JBoss Data Virtualization 6springframeworkOut of support scope
Red Hat JBoss Fuse 6springframeworkOut of support scope
Red Hat JBoss Fuse Service Works 6springframeworkOut of support scope
Red Hat JBoss SOA Platform 5springframeworkOut of support scope
Red Hat Storage 3rhevm-dependenciesNot affected
Red Hat Virtualization 4rhvm-dependenciesNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-5398.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-494 (12).

References

Check your stackJSON