What’s Vulnerable › Vulnerabilities

CVE-2023-45857: Axios Cross-Site Request Forgery Vulnerability

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

Get alerted when CVE-2023-45857 or the next vulnerability affects your stack