Home / Spring / Spring Framework / CVE-2020-5397
CVE-2020-5397: is it exploited, and which versions of Spring Framework are affected and fixed?
CVE-2020-5397 is a cross-site request forgery (CSRF) 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, 09:38 UTC). Affected: org.springframework:spring-webmvc from 5.2.0 before 5.2.3 and org.springframework:spring-webflux from 5.2.0 before 5.2.3 (GitHub advisory GHSA-7pm4-g2qj-j85x). Fixed in 5.2.3 (GitHub advisory GHSA-7pm4-g2qj-j85x). Severity: Medium (5.3, CVSS 3.0, from pivotal).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:16 UTC.
What is CVE-2020-5397?
CSRF Attack via CORS Preflight Requests with Spring MVC or Spring WebFlux
Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.
From the CVE record by pivotal, last updated September 17, 2024, 01:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring Framework | from 5.2 before v5.2.3.RELEASE | v5.2.3.RELEASE |
As the CVE record by pivotal states it, last updated September 17, 2024. 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, < 5.2.3 | 5.2.3 | GHSA-7pm4-g2qj-j85x |
| Maven | org.springframework:spring-webflux | >= 5.2.0, < 5.2.3 | 5.2.3 | GHSA-7pm4-g2qj-j85x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 15, 2024. Summary: CSRF attack via CORS preflight requests with Spring MVC or Spring WebFlux.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring framework | from 5.2.0 before 5.2.3 | application |
| oracle | application testing suite | 13.3.0.1 | application |
| oracle | communications brm - elastic charging engine | 11.3 | application |
| oracle | communications brm - elastic charging engine | 12.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 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 |
| oracle | insurance policy administration j2ee | 10.2.4 | application |
| oracle | insurance policy administration j2ee | 11.0.2 | application |
| oracle | insurance policy administration j2ee | 11.1.0 | application |
| oracle | insurance policy administration j2ee | 11.2.0 | application |
| oracle | insurance rules palette | 10.2.0 | application |
| oracle | insurance rules palette | 10.2.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:21 UTC.
How severe is CVE-2020-5397?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | pivotal |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
| Low 2.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:N/I:P/A:N | 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-5397 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.55% probability of exploitation activity in the next 30 days, percentile 85.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-352 Cross-Site Request Forgery
Where are the vendor advisories and references?
- 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-5397 x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpuoct2020.html 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://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 17, 2020, 18:50 UTC
- CVE record updated
- September 17, 2024, 01:45 UTC by pivotal
- NVD
- Modified, last modified June 17, 2026, 03:21 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:16 UTC; KEV December 3, 2026, 09: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-5397
Is CVE-2020-5397 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 2.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Framework are affected by CVE-2020-5397?
org.springframework:spring-webmvc from 5.2.0 before 5.2.3 and org.springframework:spring-webflux from 5.2.0 before 5.2.3, per the GitHub advisory GHSA-7pm4-g2qj-j85x. The tables above give every range the sources list.
Which version fixes CVE-2020-5397?
5.2.3, per the GitHub advisory GHSA-7pm4-g2qj-j85x. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-5397?
Medium (5.3, CVSS 3.0, from pivotal). The severity table above shows each score with its source.
Where is the official record of CVE-2020-5397?
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.