Skip to content
Noroxi
CVE-2020-5397· NVD / CVE Program· CNA pivotal

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.

MediumCVSS 5.3 · v3.1—No exploit Fix available
Published
Jan 17, 2020
Updated
Jun 16, 2026
EPSS
2.4% · 84th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

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 help

Affected systems

VendorProduct
vmwarespring framework
oracleapplication testing suite
oraclecommunications brm - elastic charging engine
oraclecommunications diameter signaling router
oraclecommunications element manager
oraclecommunications policy management
oraclecommunications session route manager
oracleenterprise manager base platform
oraclefinancial services regulatory reporting with agilereporter
oracleflexcube private banking
oraclehealthcare master person index
oracleinsurance 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.

EcosystemPackageAffected rangeFix
Mavenorg.springframework:spring-webfluxfrom 5.2.0 · before 5.2.35.2.3
Mavenorg.springframework:spring-webmvcfrom 5.2.0 · before 5.2.35.2.3

Other 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.KEV
    99Now
  • 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 Application
    57Plan
  • 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 untru
    49Plan
  • CVE-2026-59313Server Sent Event stream corruption in Spring MVC functional web framework
    39Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Maven:org.springframework:spring-webflux5.2.3Package registry (OSV)
Maven:org.springframework:spring-webmvc5.2.3Package 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.

EPSS, last 120 days

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.

Finders, 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

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.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
app.use(session({ cookie: { httpOnly: true } }));app.post("/account/address", updateAddress);

Fixed

ts
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

All records