VDB
KO
MEDIUM 6.5

GHSA-wf5p-g6vw-rhxx

Axios Cross-Site Request Forgery Vulnerability

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / axios
Introduced in: 1.0.0 Fixed in: 1.6.0
Fix npm install axios@1.6.0
npm / axios
Introduced in: 0.8.1 Fixed in: 0.28.0
Fix npm install axios@0.28.0

References