CSRF in Axios

CVE-2023-45857

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.006 (43.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Affected products

  • Axios — versions 1.5.1
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-45857?
CVE-2023-45857 is a medium-severity vulnerability in Axios, classified under Cross-Site Request Forgery (CSRF). CVSS score: 6.5/10. Published 2023-11-08.
How severe is CVE-2023-45857?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2023-45857 known to be exploited?
12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.