Cross-site request forgeryin Spring Framework.
No public exploit found; not on exploited lists.
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.
- 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 3 Jan 2020CVE ID reserved by pivotal.
- 17 Jan 2020Published in the CVE List.
- 17 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
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.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Framework vulnerabilities
Same weakness: Cross-site request forgery
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- pivotal.io x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
Patchminder. CVE-2020-5397: Cross-site request forgery in Spring Framework. https://patchminder.com/cve/cve-2020-5397/ (accessed 5 December 2026).