{"id":"CVE-2020-7780","published":"2020-11-27T16:40:10Z","modified":"2024-09-17T04:24:28Z","title":"Cross-site Request Forgery (CSRF)","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package com.softwaremill.akka-http-session:core_2.13 before 0.5.11; the package com.softwaremill.akka-http-session:core_2.12 before 0.5.11; the package com.softwaremill.akka-http-session:core_2.11 before 0.5.11. For older versions, endpoints protected by randomTokenCsrfProtection could be bypassed with an empty X-XSRF-TOKEN header and an empty XSRF-TOKEN cookie.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00653,"percentile":0.52221,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1045352","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046654","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046655","tags":["x_refsource_MISC"]},{"url":"https://github.com/softwaremill/akka-http-session/issues/77","tags":["x_refsource_MISC"]},{"url":"https://github.com/softwaremill/akka-http-session/issues/74","tags":["x_refsource_MISC"]},{"url":"https://github.com/softwaremill/akka-http-session/commit/57f11663eecb84be03383d164f655b9c5f953b41","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":10.44},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.13","versions":[">= unspecified, < 0.5.11"]},{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.12","versions":[">= unspecified, < 0.5.11"]},{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.11","versions":[">= unspecified, < 0.5.11"]}],"affected":[{"ecosystem":"Maven","package":"com.softwaremill.akka-http-session:core_2.13","vulnerableRanges":["<0.5.11"],"patched":["0.5.11"],"from":["GHSA-q42q-523g-3fwv"],"provenance":"source"},{"ecosystem":"Maven","package":"com.softwaremill.akka-http-session:core_2.12","vulnerableRanges":["<0.5.11"],"patched":["0.5.11"],"from":["GHSA-q42q-523g-3fwv"],"provenance":"source"},{"ecosystem":"Maven","package":"com.softwaremill.akka-http-session:core_2.11","vulnerableRanges":["<0.5.11"],"patched":["0.5.11"],"from":["GHSA-q42q-523g-3fwv"],"provenance":"source"}],"summary":{"text":"The flaw is a Cross-site Request Forgery weakness in the core component of the akka-http-session library (com.softwaremill.akka-http-session:core for Scala 2.11, 2.12 and 2.13), affecting releases before 0.5.11. In older versions, endpoints protected by randomTokenCsrfProtection could be bypassed by sending an empty X-XSRF-TOKEN header together with an empty XSRF-TOKEN cookie. Exploitation requires a network-reachable attacker who can get a victim to interact with a crafted request, such as by visiting a malicious page, and requires no prior authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:23Z"},"euvd":{"id":"EUVD-2022-1143","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-com-softwaremill-akka-http-session-core--cve-2020-7780","children":[{"from":"CVE-2020-7780","to":"CVE-2020-28452","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/scala/com/softwaremill/session/CsrfDirectives.scala"],"commits":["https://github.com/softwaremill/akka-http-session/commit/8725dccfc3143ac52304a51f4bbfda119d5ba3a1","https://github.com/softwaremill/akka-http-session/commit/57f11663eecb84be03383d164f655b9c5f953b41"],"basis":"shared function","functions":["CsrfDirectives"]},{"kind":"similar","provenance":"machine","score":0.93,"basis":"same package + description similarity"}]}]}}