ADVISORIES

GitHub Advisory Database

GHSA-wf5p-g6vw-rhxx

Axios Cross-Site Request Forgery Vulnerability

Moderate CVE-2023-45857

Details

An issue discovered in Axios 0.8.1 through 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 packages

EcosystemPackageAffected versions
npmaxios
From 1.0.0 before 1.6.0 (fixed in 1.6.0)
npmaxios
From 0.8.1 before 0.28.0 (fixed in 0.28.0)

References