patchminder
No public exploit found CVE-2020-5397

Cross-site request forgeryin Spring Framework.

Published 17 Jan 2020 · Updated 17 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 5.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 2.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 5.2.3, v5.2.3.RELEASE
In plain words

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.

What to do now
  • Upgrade Spring Framework to v5.2.3.RELEASE or later.
  • Upgrade org.springframework:spring-webmvc (Maven) to 5.2.3 or later.
  • Upgrade org.springframework:spring-webflux (Maven) to 5.2.3 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Spring Framework
5.2 to before v5.2.3.RELEASE
v5.2.3.RELEASE
CVE record
org.springframework:spring-webmvc (Maven)
5.2.0 to before 5.2.3
5.2.3
GitHub advisory
org.springframework:spring-webflux (Maven)
5.2.0 to before 5.2.3
5.2.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 3 Jan 2020
    CVE ID reserved by pivotal.
  2. 17 Jan 2020
    Published in the CVE List.
  3. 17 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Framework vulnerabilities

Same weakness: Cross-site request forgery

All CWE-352 vulnerabilities

References
Cite this page

Patchminder. CVE-2020-5397: Cross-site request forgery in Spring Framework. https://patchminder.com/cve/cve-2020-5397/ (accessed 5 December 2026).