--- title: "CVE-2020-5398: RFD Attack via \"Content-Disposition\"… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2020-5398 --- # CVE-2020-5398: RFD Attack via "Content-Disposition"… | CubePath ## 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. Official description from the CVE record, published by pivotal. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2020-5398) ## Key data ### CVSS 3.0 High 8.0 Score published by pivotal in the CVE record. CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H | Metric | Value | What it means | | ---------------------- | -------- | ----------------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | High | The attack depends on conditions outside the attacker's control, so it takes preparation. | | Privileges required | Low | A basic user account is needed. | | User interaction | Required | A user has to do something first, such as opening a file or following a link. | | Scope | Changed | The impact can reach other components beyond the vulnerable one. | | Confidentiality impact | High | Serious or total effect on the secrecy of data. | | Integrity impact | High | Serious or total effect on the trustworthiness of data. | | Availability impact | High | Serious or total effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.88322 (88.3% probability) Percentile 99.8% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA assessment as of Oct 8, 2026 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Automatable no Technical impact total ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-79](https://cwe.mitre.org/data/definitions/79.html) Improper Neutralization of Input During Web Page Generation ## Affected products Products listed in the CVE record, as the CNA published them. - Spring Framework - affected: 5.0 up to before v5.0.16.RELEASE - affected: 5.1 up to before v5.1.13.RELEASE - affected: 5.2 up to before v5.2.3.RELEASE ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [\[camel-commits\] 20200220 \[camel\] branch camel-2.25.x updated: Updating Spring due to CVE-2020-5398](https://lists.apache.org/thread.html/rf8dc72b974ee74f17bce661ea7d124e733a1f4c4f236354ac0cf48e8%40%3Ccommits.camel.apache.org%3E) (lists.apache.org) mailing-list - [\[geode-dev\] 20200410 Proposal to bring GEODE-7970 to support/1.12](https://lists.apache.org/thread.html/rc05acaacad089613e9642f939b3a44f7199b5537493945c3e045287f%40%3Cdev.geode.apache.org%3E) (lists.apache.org) mailing-list - [\[geode-dev\] 20200410 Re: Proposal to bring GEODE-7970 to support/1.12](https://lists.apache.org/thread.html/rdcaadaa9a68b31b7d093d76eacfaacf6c7a819f976b595c75ad2d4dc%40%3Cdev.geode.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200514 \[jira\] \[Created\] (KARAF-6721) Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r7361bfe84bde9d233f9800c3a96673e7bd81207549ced0236f07a29d%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200514 \[jira\] \[Commented\] (KARAF-6721) Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r9fb1ee08cf337d16c3364feb0f35a072438c1a956afd7b77859aa090%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200514 \[GitHub\] \[karaf\] coheigea opened a new pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r0f3530f7cb510036e497532ffc4e0bd0b882940448cf4e233994b08b%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200514 \[jira\] \[Updated\] (KARAF-6721) Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r8736185eb921022225a83e56d7285a217fd83f5524bd64a6ca3bf5cc%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200514 \[GitHub\] \[karaf\] skitt commented on a change in pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r7d5e518088e2e778928b02bcd3be3b948b59acefe2f0ebb57ec2ebb0%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200514 \[GitHub\] \[karaf\] coheigea commented on a change in pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r3765353ff434fd00d8fa5a44734b3625a06eeb2a3fb468da7dfae134%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200517 \[jira\] \[Updated\] (KARAF-6721) Upgrade to Spring 5.1.14.RELEASE and 5.2.5.RELEASE due to CVE-2020-5398](https://lists.apache.org/thread.html/rab0de39839b4c208dcd73f01e12899dc453361935a816a784548e048%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200517 \[jira\] \[Assigned\] (KARAF-6721) Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r1bc5d673c01cfbb8e4a91914e9748ead3e5f56b61bca54d314c0419b%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200517 \[jira\] \[Updated\] (KARAF-6721) Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r4b1886e82cc98ef38f582fef7d4ea722e3fcf46637cd4674926ba682%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200517 \[GitHub\] \[karaf\] jbonofre commented on pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/reaa8a6674baf2724b1b88a621b0d72d9f7a6f5577c88759842c16eb6%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200517 \[GitHub\] \[karaf\] jbonofre commented on a change in pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r74f81f93a9b69140fe41e236afa7cbe8dfa75692e7ab31a468fddaa0%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200517 \[jira\] \[Commented\] (KARAF-6721) Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r028977b9b9d44a89823639aa3296fb0f0cfdd76b4450df89d3c4fbbf%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200518 \[jira\] \[Commented\] (KARAF-6721) Upgrade to Spring 5.1.14.RELEASE and 5.2.5.RELEASE due to CVE-2020-5398](https://lists.apache.org/thread.html/r2dfd5b331b46d3f90c4dd63a060e9f04300468293874bd7e41af7163%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200518 \[GitHub\] \[karaf\] jbonofre commented on pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r8cc37a60a5056351377ee5f1258f2a4fdd39822a257838ba6bcc1e88%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200518 \[GitHub\] \[karaf\] jbonofre removed a comment on pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r1accbd4f31ad2f40e1661d70a4510a584eb3efd1e32e8660ccf46676%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200518 \[GitHub\] \[karaf\] jbonofre merged pull request #1118: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/rb4d1fc078f086ec2e98b2693e8b358e58a6a4ef903ceed93a1ee2b18%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200518 \[karaf\] branch karaf-4.2.x updated: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r6dac0e365d1b2df9a7ffca12b4195181ec14ff0abdf59e1fdb088ce5%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-commits\] 20200518 \[karaf\] branch master updated: KARAF-6721 - Update Spring versions due to CVE-2020-5398](https://lists.apache.org/thread.html/r4639e821ef9ca6ca10887988f410a60261400a7766560e7a97a22efc%40%3Ccommits.karaf.apache.org%3E) (lists.apache.org) mailing-list - [\[karaf-issues\] 20200518 \[jira\] \[Resolved\] (KARAF-6721) Upgrade to Spring 5.1.14.RELEASE and 5.2.5.RELEASE due to CVE-2020-5398](https://lists.apache.org/thread.html/r0f2d0ae1bad2edb3d4a863d77f3097b5e88cfbdae7b809f4f42d6aad%40%3Cissues.karaf.apache.org%3E) (lists.apache.org) mailing-list - [oracle.com/security-alerts/cpuapr2020.html](https://www.oracle.com/security-alerts/cpuapr2020.html) - [oracle.com/security-alerts/cpujul2020.html](https://www.oracle.com/security-alerts/cpujul2020.html) - [pivotal.io/security/cve-2020-5398](https://pivotal.io/security/cve-2020-5398) - [lists.apache.org/thread.html/r712a6fce928e24e7b6ec30994a7e1…](https://lists.apache.org/thread.html/r712a6fce928e24e7b6ec30994a7e115a70f1f6e4cf2c2fbf0347ce46%40%3Ccommits.servicecomb.apache.org%3E) - [lists.apache.org/thread.html/ra996b56e1f5ab2fed235a8b91fa0c…](https://lists.apache.org/thread.html/ra996b56e1f5ab2fed235a8b91fa0cc3cf34c2e9fee290b7fa4380a0d%40%3Ccommits.servicecomb.apache.org%3E) - [lists.apache.org/thread.html/r881fb5a95ab251106fed38f836257…](https://lists.apache.org/thread.html/r881fb5a95ab251106fed38f836257276feb026bfe01290e72ff91c2a%40%3Ccommits.servicecomb.apache.org%3E) - [\[ambari-issues\] 20201013 \[jira\] \[Created\] (AMBARI-25571) Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421](https://lists.apache.org/thread.html/r1eccdbd7986618a7319ee7a533bd9d9bf6e8678e59dd4cca9b5b2d7a%40%3Cissues.ambari.apache.org%3E) (lists.apache.org) mailing-list - [\[ambari-dev\] 20201019 \[GitHub\] \[ambari\] dlysnichenko opened a new pull request #3246: AMBARI-25571\. Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421](https://lists.apache.org/thread.html/r9f13cccb214495e14648d2c9b8f2c6072fd5219e74502dd35ede81e1%40%3Cdev.ambari.apache.org%3E) (lists.apache.org) mailing-list - [\[ambari-dev\] 20201019 \[GitHub\] \[ambari\] dlysnichenko merged pull request #3246: AMBARI-25571\. Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421](https://lists.apache.org/thread.html/r8b496b1743d128e6861ee0ed3c3c48cc56c505b38f84fa5baf7ae33a%40%3Cdev.ambari.apache.org%3E) (lists.apache.org) mailing-list - [\[ambari-commits\] 20201019 \[ambari\] branch branch-2.7 updated: AMBARI-25571\. Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421 (dlysnichenko) (#3246)](https://lists.apache.org/thread.html/r1c679c43fa4f7846d748a937955c7921436d1b315445978254442163%40%3Ccommits.ambari.apache.org%3E) (lists.apache.org) mailing-list - [oracle.com/security-alerts/cpuoct2020.html](https://www.oracle.com/security-alerts/cpuoct2020.html) - [\[ambari-issues\] 20201021 \[jira\] \[Resolved\] (AMBARI-25571) Vulnerable Spring components in Ambari - CVE-2020-5398, CVE-2020-5421](https://lists.apache.org/thread.html/r5c95eff679dfc642e9e4ab5ac6d202248a59cb1e9457cfbe8b729ac5%40%3Cissues.ambari.apache.org%3E) (lists.apache.org) mailing-list - [oracle.com/security-alerts/cpujan2021.html](https://www.oracle.com/security-alerts/cpujan2021.html) - [\[rocketmq-dev\] 20210317 \[GitHub\] \[rocketmq-externals\] vongosling commented on issue #690: Spring Framework CVE-2020-5398](https://lists.apache.org/thread.html/rc9c7f96f08c8554225dba9050ea5e64bebc129d0d836303143fe3160%40%3Cdev.rocketmq.apache.org%3E) (lists.apache.org) mailing-list - [oracle.com/security-alerts/cpuApr2021.html](https://www.oracle.com/security-alerts/cpuApr2021.html) - [lists.apache.org/thread.html/rded5291e25a4c4085a6d43cf262e4…](https://lists.apache.org/thread.html/rded5291e25a4c4085a6d43cf262e479140198bf4eabb84986e0a1ef3%40%3Cdev.rocketmq.apache.org%3E) - [lists.apache.org/thread.html/r645408661a8df9158f49e337072df…](https://lists.apache.org/thread.html/r645408661a8df9158f49e337072df39838fa76da629a7e25a20928a6%40%3Cdev.rocketmq.apache.org%3E) - [lists.apache.org/thread.html/r27552d2fa10d96f2810c50d16ad1f…](https://lists.apache.org/thread.html/r27552d2fa10d96f2810c50d16ad1fd1899e37796c81a0c5e7585a02d%40%3Cdev.rocketmq.apache.org%3E) - [oracle.com//security-alerts/cpujul2021.html](https://www.oracle.com//security-alerts/cpujul2021.html) - [oracle.com/security-alerts/cpuoct2021.html](https://www.oracle.com/security-alerts/cpuoct2021.html) - [security.netapp.com/advisory/ntap-20210917-0006](https://security.netapp.com/advisory/ntap-20210917-0006/) - [oracle.com/security-alerts/cpujul2022.html](https://www.oracle.com/security-alerts/cpujul2022.html) ## Timeline 1. ID reserved Jan 3, 2020 2. Record published Jan 16, 2020 3. Record last updated Oct 8, 2026 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:02 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)