Vulnerability library
Security checkJune 21, 2024

Axios Cross-Site Request Forgery Vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the axios package to the latest compatible version. Followings are version details:

  • Affected version(s): **>= 0.8.1, < 0.28.0 >= 1.0.0, < 1.6.0**
  • Patched version(s): **0.28.0 1.6.0**

References

Could your website be exposed too?

SmartScanner can check your website for Axios Cross-Site Request Forgery Vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 21, 2024