CVE-2020-5397
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.551% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
CVSS 3.0 · 5.3 · published by pivotalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T12:55:38.618Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | verified | 2026-11-19T12:55:38.618Z | CVE Program |
| epss | verified | 2026-11-19T16:04:28.860Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:09.886Z | OSV |
| affected | verified | 2026-11-19T12:55:38.618Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:38.618Z | CVE Program |
Affected versions and configuration
Spring Spring Framework; default status: unknown: 5.2 to < v5.2.3.RELEASE [affected; scheme: custom]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Spring",
"product": "Spring Framework",
"versions": [
{
"status": "affected",
"version": "5.2",
"lessThan": "v5.2.3.RELEASE",
"versionType": "custom"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://www.oracle.com/security-alerts/cpuapr2020.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2020.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://pivotal.io/security/cve-2020-5397",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpuoct2020.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.oracle.com//security-alerts/cpujul2021.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T08:30:23.996Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-7pm4-g2qj-j85x",
"aliases": [
"CVE-2020-5397"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.2.0"
},
{
"fixed": "5.2.3"
}
]
}
],
"package": {
"name": "org.springframework:spring-webmvc",
"purl": "pkg:maven/org.springframework/spring-webmvc",
"ecosystem": "Maven"
},
"versions": [
"5.2.0.RELEASE",
"5.2.1.RELEASE",
"5.2.2.RELEASE"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/01/GHSA-7pm4-g2qj-j85x/GHSA-7pm4-g2qj-j85x.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5397",
"type": "ADVISORY"
},
{
"url": "https://github.com/spring-projects/spring-framework/commit/bc7d01048579430b4b2df668178809b63d3f1929",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-framework",
"type": "PACKAGE"
},
{
"url": "https://pivotal.io/security/cve-2020-5397",
"type": "WEB"
},
{
"url": "https://www.oracle.com//security-alerts/cpujul2021.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpuapr2020.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2020.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpuoct2020.html",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2020-01-17T19:15:00Z",
"github_reviewed_at": "2020-01-21T20:51:37Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | org.springframework:spring-webmvc | Not a distribution channel | 5.2.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:09.886ZArchived source JSON
Source publication: 2020-01-21T20:59:33.000Z
Source modification: 2024-03-15T16:12:40.150ZDocument fingerprint
c9a445ebcc3bcaf7313f38081bb6cd51b48e63effc1bf2c32388783a2953d276 - CVE ProgramConsulted: 2026-11-19T12:55:38.618ZArchived source JSON
Source publication: 2020-01-17T18:50:12.742Z
Source modification: 2024-09-17T01:45:35.621ZDocument fingerprint
92742d990a507cf9b2f5554f3c03ca46e1e8e5f81b7d0144cd830e0116f22bcf - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:28.860ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f5c8827616eb2ca04211842edac88756217214ce2eeb1487530f7c0502297196
Official status history
- UNKNOWN → PUBLISHED · · evidence