Security advisory
This affects the package com.softwaremill.akka-http-session:core_2.12 from 0 and before 0.6.1; all versions of package com.softwaremill.akka-http-session:core_2.11; the package com.softwaremill.akka-http-session:core_2.13 from 0 and before 0.6.1. CSRF protection can be bypassed by forging a request that contains the same value for both the X-XSRF-TOKEN header and the XSRF-TOKEN cookie value, as the check in randomTokenCsrfProtection only checks that the two values are equal and non-empty.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-28452
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:25 UTC · Revision 1
Source evidence
This affects the package com.softwaremill.akka-http-session:core_2.12 from 0 and before 0.6.1; all versions of package com.softwaremill.akka-http-session:core_2.11; the package com.softwaremill.akka-http-session:core_2.13 from 0 and before 0.6.1. CSRF protection can be bypassed by forging a request that contains the same value for both the X-XSRF-TOKEN header and the XSRF-TOKEN cookie value, as the check in randomTokenCsrfProtection only checks that the two values are equal and non-empty.
osv:CVE-2020-28452
Complete source record
{
"id": "f10f4a444c338fd9c978af3543ffd5d1e1839015f2ebd7555c41a7f504c292cf",
"url": "https://osv.dev/vulnerability/CVE-2020-28452",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-28452",
"summary": "This affects the package com.softwaremill.akka-http-session:core_2.12 from 0 and before 0.6.1; all versions of package com.softwaremill.akka-http-session:core_2.11; the package com.softwaremill.akka-http-session:core_2.13 from 0 and before 0.6.1. CSRF protection can be bypassed by forging a request that contains the same value for both the X-XSRF-TOKEN header and the XSRF-TOKEN cookie value, as the check in randomTokenCsrfProtection only checks that the two values are equal and non-empty.",
"evidence": "osv:CVE-2020-28452",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-28452",
"aliases": [
"CVE-2020-28452",
"GHSA-4jf5-jggp-g56j"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/softwaremill/akka-http-session",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f27871c0415bd53821fc8408ce6b54b2e056e0b3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:softwaremill:akka-http-session:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.6.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.6.0",
"v0.5.11",
"v0.5.10",
"v0.5.9",
"v0.5.8",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"release-0.5.4",
"release-0.5.2",
"release-0.5.0",
"release-0.4.0",
"release-0.3.0",
"release-0.2.7",
"release-0.2.6",
"release-0.2.4",
"release-0.2.3",
"release-0.2.2",
"release-0.2.1",
"release-0.2.0",
"release-0.1.4-2.0-M1",
"release-0.1.4",
"release-0.1.3",
"release-0.1.2",
"release-1.1",
"release-0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28452.json"
}
}
],
"modified": "2026-10-20T10:54:19.525126372Z",
"provider": "osv",
"references": [
"https://github.com/softwaremill/akka-http-session/issues/77",
"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674",
"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675",
"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933",
"https://github.com/softwaremill/akka-http-session/pull/79"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-28452",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385044,
"published_at": "2021-01-20T18:15:12.437+00:00"
}