CVE-2020-5397: CSRF Attack via CORS Preflight Requests with Spring MVC or Spring WebFlux
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.5% (FIRST EPSS); higher than 85.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: org.springframework:spring-webflux (Maven) 5.2.3; org.springframework:spring-webmvc (Maven) 5.2.3.
Low priority for now. Upgrade to org.springframework:spring-webflux (Maven) 5.2.3; org.springframework:spring-webmvc (Maven) 5.2.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jan 17, 2020
- Updated
- Jun 16, 2026
- EPSS
- 2.5% · 85th percentile
- CWE
- CWE-352
Report tools
Action score
22
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.5%
CNA vs NVD score
- NVD
- 5.3
- CNA · pivotal
- 5.3
- agree
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| vmware | spring framework | cpe:2.3:a:vmware:spring_framework |
| oracle | application testing suite | cpe:2.3:a:oracle:application_testing_suite |
| oracle | communications brm - elastic charging engine | cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine |
| oracle | communications diameter signaling router | cpe:2.3:a:oracle:communications_diameter_signaling_router |
| oracle | communications element manager | cpe:2.3:a:oracle:communications_element_manager |
| oracle | communications policy management | cpe:2.3:a:oracle:communications_policy_management |
| oracle | communications session route manager | cpe:2.3:a:oracle:communications_session_route_manager |
| oracle | enterprise manager base platform | cpe:2.3:a:oracle:enterprise_manager_base_platform |
| oracle | financial services regulatory reporting with agilereporter | cpe:2.3:a:oracle:financial_services_regulatory_reporting_with_agilereporter |
| oracle | flexcube private banking | cpe:2.3:a:oracle:flexcube_private_banking |
| oracle | healthcare master person index | cpe:2.3:a:oracle:healthcare_master_person_index |
| oracle | insurance calculation engine | cpe:2.3:a:oracle:insurance_calculation_engine |
and 15 more
Versions reported by the vendor
Affected version ranges reported by the assigning authority (pivotal). Independent of NVD's CPE analysis and usually ahead of it.
Spring Spring Framework
- 5.2 and later · before v5.2.3.RELEASEaffected
Affected versions · NVD (20)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- oracle application testing suite13.3.0.1
- oracle communications brm - elastic charging engine11.3
- oracle communications brm - elastic charging engine12.0
- oracle communications diameter signaling router8.0.0 and later · up to 8.2.2 inclusive
- oracle communications element manager8.1.1
- oracle communications element manager8.2.0
- oracle communications element manager8.2.1
- oracle communications policy management12.5.0
- oracle communications session route manager8.1.1
- oracle communications session route manager8.2.0
- oracle communications session route manager8.2.1
- oracle enterprise manager base platform13.2.1.0
- oracle financial services regulatory reporting with agilereporter8.0.9.2.0
- oracle flexcube private banking12.0.0
- oracle flexcube private banking12.1.0
- oracle healthcare master person index4.0.2
- oracle insurance calculation engine11.0.0 and later · up to 11.3.1 inclusive
- oracle insurance policy administration j2ee10.2.0
- oracle insurance policy administration j2ee10.2.4
- oracle insurance policy administration j2ee11.0.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Maven | org.springframework:spring-webflux | from 5.2.0 · before 5.2.3 | 5.2.3 |
| Maven | org.springframework:spring-webmvc | from 5.2.0 · before 5.2.3 | 5.2.3 |
Same product
vmware: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-22965A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding.KEV99Now
- CVE-2018-1270Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to expose…62This week
- CVE-2020-5398RFD Attack via "Content-Disposition" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application56Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-15801Dec 19, 2018 · Authorization Bypass During JWT Issuer Validation with spring-security29Monitor
- ← EarlierCVE-2016-1000027Jan 2, 2020 · Pivotal Spring Framework through 5.3.16 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of…49Plan
- Later →CVE-2020-5421Sep 19, 2020 · RFD Protection Bypass via jsessionid29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Maven:org.springframework:spring-webflux | 5.2.3 | Package registry (OSV) |
| Maven:org.springframework:spring-webmvc | 5.2.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- low · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-352 · Cross-Site Request Forgery (CSRF)CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
nvd-primary
Root cause
State-changing requests rely on the session cookie the browser sends automatically; nothing verifies that the request came from the user’s own page.
The bug in code
The whole CWE-352 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use(session({ cookie: { httpOnly: true } }));
app.post("/account/address", updateAddress);Fixed
app.use(session({ cookie: { httpOnly: true, sameSite: "lax" } }));
app.post("/account/address", csrfProtection, updateAddress);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.