CWE
352
Advisory Published
Updated

GHSA-wf5p-g6vw-rhxx: CSRF

First published: Wed Nov 08 2023(Updated: )

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 SoftwareAffected VersionHow to fix
npm/axios>=0.8.1<0.28.0
0.28.0
npm/axios>=1.0.0<1.6.0
1.6.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID of this issue?

    The vulnerability ID of this issue is GHSA-wf5p-g6vw-rhxx.

  • What is the severity of GHSA-wf5p-g6vw-rhxx?

    The severity of GHSA-wf5p-g6vw-rhxx is high.

  • Which software versions are affected by GHSA-wf5p-g6vw-rhxx?

    The versions 0.8.1 through 1.5.1 of Axios are affected by GHSA-wf5p-g6vw-rhxx.

  • How can attackers exploit GHSA-wf5p-g6vw-rhxx?

    Attackers can exploit GHSA-wf5p-g6vw-rhxx by viewing sensitive information stored in the XSRF-TOKEN cookies.

  • How can I fix GHSA-wf5p-g6vw-rhxx?

    You can fix GHSA-wf5p-g6vw-rhxx by updating Axios to version 1.6.0 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203