Home / Spring / Spring Framework / CVE-2020-5398
CVE-2020-5398: is it exploited, and which versions of Spring Framework are affected and fixed?
CVE-2020-5398 is a cross-site scripting (XSS) vulnerability in Spring Framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: org.springframework:spring-webmvc from 5.2.0.RELEASE before 5.2.3.RELEASE, org.springframework:spring-webmvc from 5.1.0.RELEASE before 5.1.13.RELEASE, org.springframework:spring-webmvc from 5.0.0.RELEASE before 5.0.16.RELEASE and 3 more (GitHub advisory GHSA-8wx2-9q48-vm9r). Fixed in 5.2.3.RELEASE, 5.1.13.RELEASE and 5.0.16.RELEASE (GitHub advisory GHSA-8wx2-9q48-vm9r). Severity: High (8.0, CVSS 3.0, from pivotal).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:16 UTC.
What is CVE-2020-5398?
RFD Attack via "Content-Disposition" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application
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.
From the CVE record by pivotal, last updated October 8, 2026, 21:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring Framework | from 5.0 before v5.0.16.RELEASE from 5.1 before v5.1.13.RELEASE from 5.2 before v5.2.3.RELEASE | v5.0.16.RELEASE, v5.1.13.RELEASE, v5.2.3.RELEASE |
As the CVE record by pivotal states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework:spring-webmvc | >= 5.2.0.RELEASE, < 5.2.3.RELEASE | 5.2.3.RELEASE | GHSA-8wx2-9q48-vm9r |
| Maven | org.springframework:spring-webmvc | >= 5.1.0.RELEASE, < 5.1.13.RELEASE | 5.1.13.RELEASE | GHSA-8wx2-9q48-vm9r |
| Maven | org.springframework:spring-webmvc | >= 5.0.0.RELEASE, < 5.0.16.RELEASE | 5.0.16.RELEASE | GHSA-8wx2-9q48-vm9r |
| Maven | org.springframework:spring-webflux | >= 5.2.0.RELEASE, < 5.2.3.RELEASE | 5.2.3.RELEASE | GHSA-8wx2-9q48-vm9r |
| Maven | org.springframework:spring-webflux | >= 5.1.0.RELEASE, < 5.1.13.RELEASE | 5.1.13.RELEASE | GHSA-8wx2-9q48-vm9r |
| Maven | org.springframework:spring-webflux | >= 5.0.0.RELEASE, < 5.0.16.RELEASE | 5.0.16.RELEASE | GHSA-8wx2-9q48-vm9r |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 14, 2024. Summary: RFD attack via Content-Disposition header sourced from request input by Spring MVC or Spring WebFlux Application.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring framework | from 5.0.0 before 5.0.16 | application |
| vmware | spring framework | from 5.1.0 before 5.1.13 | application |
| vmware | spring framework | from 5.2.0 before 5.2.3 | application |
| oracle | application testing suite | 13.3.0.1 | application |
| oracle | communications billing and revenue management elastic charging engine | 11.3 | application |
| oracle | communications billing and revenue management elastic charging engine | 12.0 | application |
| oracle | communications cloud native core policy | 1.5.0 | application |
| oracle | communications diameter signaling router | from 8.0.0 through 8.2.2 | application |
| oracle | communications element manager | 8.1.1 | application |
| oracle | communications element manager | 8.2.0 | application |
| oracle | communications element manager | 8.2.1 | application |
| oracle | communications policy management | 12.5.0 | application |
| oracle | communications session report manager | 8.1.1 | application |
| oracle | communications session report manager | 8.2.0 | application |
| oracle | communications session report manager | 8.2.1 | application |
| oracle | communications session route manager | 8.1.1 | application |
| oracle | communications session route manager | 8.2.0 | application |
| oracle | communications session route manager | 8.2.1 | application |
| oracle | enterprise manager base platform | 13.2.1.0 | application |
| oracle | financial services regulatory reporting with agilereporter | 8.0.9.2.0 | application |
| oracle | flexcube private banking | 12.0.0 | application |
| oracle | flexcube private banking | 12.1.0 | application |
| oracle | healthcare master person index | 4.0.2 | application |
| oracle | insurance calculation engine | from 11.0.0 through 11.3.1 | application |
| oracle | insurance policy administration j2ee | 10.2.0 | application |
NVD analysis (status Modified), last modified October 8, 2026, 22:17 UTC.
How severe is CVE-2020-5398?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | pivotal |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| High 7.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-5398 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 8, 2026)
- EPSS
- 87.5% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-494 Download of Code Without Integrity Check
Where are the vendor advisories and references?
- [camel-commits] 20200220 [camel] branch camel-2.25.x updated: Updating Spring due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [geode-dev] 20200410 Proposal to bring GEODE-7970 to support/1.12 mailing-list, x_refsource_MLIST
- [geode-dev] 20200410 Re: Proposal to bring GEODE-7970 to support/1.12 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200514 [jira] [Created] (KARAF-6721) Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200514 [jira] [Commented] (KARAF-6721) Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200514 [GitHub] [karaf] coheigea opened a new pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200514 [jira] [Updated] (KARAF-6721) Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200514 [GitHub] [karaf] skitt commented on a change in pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200514 [GitHub] [karaf] coheigea commented on a change in pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200517 [jira] [Updated] (KARAF-6721) Upgrade to Spring 5.1.14.RELEASE and 5.2.5.RELEASE due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200517 [jira] [Assigned] (KARAF-6721) Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200517 [jira] [Updated] (KARAF-6721) Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200517 [GitHub] [karaf] jbonofre commented on pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200517 [GitHub] [karaf] jbonofre commented on a change in pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200517 [jira] [Commented] (KARAF-6721) Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200518 [jira] [Commented] (KARAF-6721) Upgrade to Spring 5.1.14.RELEASE and 5.2.5.RELEASE due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200518 [GitHub] [karaf] jbonofre commented on pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200518 [GitHub] [karaf] jbonofre removed a comment on pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200518 [GitHub] [karaf] jbonofre merged pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200518 [karaf] branch karaf-4.2.x updated: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-commits] 20200518 [karaf] branch master updated: KARAF-6721 - Update Spring versions due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- [karaf-issues] 20200518 [jira] [Resolved] (KARAF-6721) Upgrade to Spring 5.1.14.RELEASE and 5.2.5.RELEASE due to CVE-2020-5398 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://pivotal.io/security/cve-2020-5398 x_refsource_CONFIRM
- https://lists.apache.org/thread.html/r712a6fce928e24e7b6ec30994a7e115a70f1f6e4cf2c2fbf0347ce46%40%3Ccommits.servicecomb.apache.org%3E x_refsource_MISC
- https://lists.apache.org/thread.html/ra996b56e1f5ab2fed235a8b91fa0cc3cf34c2e9fee290b7fa4380a0d%40%3Ccommits.servicecomb.apache.org%3E x_refsource_MISC
- https://lists.apache.org/thread.html/r881fb5a95ab251106fed38f836257276feb026bfe01290e72ff91c2a%40%3Ccommits.servicecomb.apache.org%3E x_refsource_MISC
- [ambari-issues] 20201013 [jira] [Created] (AMBARI-25571) Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421 mailing-list, x_refsource_MLIST
- [ambari-dev] 20201019 [GitHub] [ambari] dlysnichenko opened a new pull request #3246: AMBARI-25571. Vulnerable Spring components in Ambari - CVE-2020-5398, CVE- mailing-list, x_refsource_MLIST
- [ambari-dev] 20201019 [GitHub] [ambari] dlysnichenko merged pull request #3246: AMBARI-25571. Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5 mailing-list, x_refsource_MLIST
- [ambari-commits] 20201019 [ambari] branch branch-2.7 updated: AMBARI-25571. Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421 (dlysnichenko) mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISC
- [ambari-issues] 20201021 [jira] [Resolved] (AMBARI-25571) Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISC
- [rocketmq-dev] 20210317 [GitHub] [rocketmq-externals] vongosling commented on issue #690: Spring Framework CVE-2020-5398 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://lists.apache.org/thread.html/rded5291e25a4c4085a6d43cf262e479140198bf4eabb84986e0a1ef3%40%3Cdev.rocketmq.apache.org%3E x_refsource_MISC
- https://lists.apache.org/thread.html/r645408661a8df9158f49e337072df39838fa76da629a7e25a20928a6%40%3Cdev.rocketmq.apache.org%3E x_refsource_MISC
- https://lists.apache.org/thread.html/r27552d2fa10d96f2810c50d16ad1fd1899e37796c81a0c5e7585a02d%40%3Cdev.rocketmq.apache.org%3E x_refsource_MISC
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210917-0006/ x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 3, 2020
- Published
- January 16, 2020, 23:55 UTC
- CVE record updated
- October 8, 2026, 21:13 UTC by pivotal
- NVD
- Modified, last modified October 8, 2026, 22:17 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:16 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Framework?
- Dec 2, 2026CVE-2026-59431 Spring Framework: denial of service (uncontrolled resource consumption)
- Dec 2, 2026CVE-2026-59430 Spring Framework: improper Neutralization of Special Elements used in an Expression Language Statement
- Dec 2, 2026CVE-2026-59429 Spring Framework: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-59419 Spring Framework
- Dec 2, 2026CVE-2026-59418 Spring Framework
- Dec 2, 2026CVE-2026-59398 Spring Framework
- Dec 2, 2026CVE-2026-59394 Spring Framework
- Dec 2, 2026CVE-2026-59393 Spring Framework
Questions about CVE-2020-5398
Is CVE-2020-5398 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 87.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Framework are affected by CVE-2020-5398?
org.springframework:spring-webmvc from 5.2.0.RELEASE before 5.2.3.RELEASE, org.springframework:spring-webmvc from 5.1.0.RELEASE before 5.1.13.RELEASE, org.springframework:spring-webmvc from 5.0.0.RELEASE before 5.0.16.RELEASE, org.springframework:spring-webflux from 5.2.0.RELEASE before 5.2.3.RELEASE, org.springframework:spring-webflux from 5.1.0.RELEASE before 5.1.13.RELEASE and org.springframework:spring-webflux from 5.0.0.RELEASE before 5.0.16.RELEASE, per the GitHub advisory GHSA-8wx2-9q48-vm9r. The tables above give every range the sources list.
Which version fixes CVE-2020-5398?
5.2.3.RELEASE, 5.1.13.RELEASE and 5.0.16.RELEASE, per the GitHub advisory GHSA-8wx2-9q48-vm9r. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-5398?
High (8.0, CVSS 3.0, from pivotal). The severity table above shows each score with its source.
Where is the official record of CVE-2020-5398?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.