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.
- Published
- Jan 17, 2020
- Updated
- Jun 16, 2026
- EPSS
- 2.4% · 84th percentile
- CWE
- CWE-352
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.4%
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| 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
Affected versions
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
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
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 Application57Plan
- CVE-2018-1275Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.16 and older unsupported versions, allow applications to expose 56Plan
- CVE-2016-1000027Pivotal Spring Framework through 5.3.16 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of untru49Plan
- CVE-2026-59313Server Sent Event stream corruption in Spring MVC functional web framework39Monitor
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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuapr2020.html
- www.oracle.com/security-alerts/cpujul2020.html
- www.oracle.com/security-alerts/cpujul2022.html
- www.oracle.com/security-alerts/cpuoct2020.html
- www.oracle.com/security-alerts/cpuoct2021.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.