{"id":"CVE-2020-28452","details":"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.","aliases":["GHSA-4jf5-jggp-g56j"],"modified":"2026-07-08T19:03:16.671033Z","published":"2021-01-20T18:15:12.437Z","related":["SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674","SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675","SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933"],"references":[{"type":"ADVISORY","url":"https://github.com/softwaremill/akka-http-session/issues/77"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933"},{"type":"FIX","url":"https://github.com/softwaremill/akka-http-session/pull/79"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/softwaremill/akka-http-session","events":[{"introduced":"0"},{"fixed":"f27871c0415bd53821fc8408ce6b54b2e056e0b3"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:softwaremill:akka-http-session:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.6.1"}]}}],"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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}