What’s Vulnerable › Vulnerabilities
CVE-2023-45857: Axios Cross-Site Request Forgery Vulnerability
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-11-08 · updated 2026-06-17
- Weakness: CWE-352
Description
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.
Affected products
How to fix
Upgrade to a fixed version: Npm Axios 1.6.0, 0.28.0. Check the vendor advisory for mitigations.
References
- https://github.com/axios/axios/issues/6006
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://github.com/axios/axios/issues/6006
- https://security.netapp.com/advisory/ntap-20240621-0006/
Get alerted when CVE-2023-45857 or the next vulnerability affects your stack