{"api_version":"1","generated_at":"2026-07-23T12:09:49+00:00","cve":"CVE-2020-28452","urls":{"html":"https://cve.report/CVE-2020-28452","api":"https://cve.report/api/cve/CVE-2020-28452.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-28452","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-28452"},"summary":{"title":"CVE-2020-28452","description":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2021-01-20 18:15:00","updated_at":"2021-01-27 15:22:00"},"problem_types":["CWE-352"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675","name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675","refsource":"MISC","tags":["Third Party Advisory"],"title":"Cross-site Request Forgery (CSRF) in com.softwaremill.akka-http-session:core_2.11 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/softwaremill/akka-http-session/pull/79","name":"https://github.com/softwaremill/akka-http-session/pull/79","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"hmac encoded csrf token by willemvermeer · Pull Request #79 · softwaremill/akka-http-session · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933","name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933","refsource":"MISC","tags":["Third Party Advisory"],"title":"Cross-site Request Forgery (CSRF) in com.softwaremill.akka-http-session:core_2.13 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/softwaremill/akka-http-session/issues/77","name":"https://github.com/softwaremill/akka-http-session/issues/77","refsource":"MISC","tags":["Third Party Advisory"],"title":"CSRF protection can be bypassed  · Issue #77 · softwaremill/akka-http-session · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674","name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674","refsource":"MISC","tags":["Third Party Advisory"],"title":"Cross-site Request Forgery (CSRF) in com.softwaremill.akka-http-session:core_2.12 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-28452","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28452","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Willem Vermeer","lang":""}],"nvd_cpes":[{"cve_year":"2020","cve_id":"28452","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"softwaremill","cpe5":"akka-http-session","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28452","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"softwaremill","cpe5":"akka-http-session","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-01-20T17:02:20.074555Z","ID":"CVE-2020-28452","STATE":"PUBLIC","TITLE":"Cross-site Request Forgery (CSRF)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"com.softwaremill.akka-http-session:core_2.12","version":{"version_data":[{"version_affected":">=","version_value":"0"},{"version_affected":"<","version_value":"0.6.1"}]}}]},"vendor_name":"n/a"},{"product":{"product_data":[{"product_name":"com.softwaremill.akka-http-session:core_2.11","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"},{"product":{"product_data":[{"product_name":"com.softwaremill.akka-http-session:core_2.13","version":{"version_data":[{"version_affected":">=","version_value":"0"},{"version_affected":"<","version_value":"0.6.1"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site Request Forgery (CSRF)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/softwaremill/akka-http-session/issues/77","name":"https://github.com/softwaremill/akka-http-session/issues/77"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674","name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675","name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675"},{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933","name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933"},{"refsource":"MISC","url":"https://github.com/softwaremill/akka-http-session/pull/79","name":"https://github.com/softwaremill/akka-http-session/pull/79"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"Willem Vermeer"}]},"nvd":{"publishedDate":"2021-01-20 18:15:00","lastModifiedDate":"2021-01-27 15:22:00","problem_types":["CWE-352"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:softwaremill:akka-http-session:*:*:*:*:*:*:*:*","versionEndExcluding":"0.6.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"28452","Ordinal":"190939","Title":"CVE-2020-28452","CVE":"CVE-2020-28452","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"28452","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"28452","Ordinal":"2","NoteData":"2021-01-20","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"28452","Ordinal":"3","NoteData":"2021-01-20","Type":"Other","Title":"Modified"}]}}}