REDHAT-BUG-2487943: High severity npm/axios vulnerability

Published Jun 11, 2026
·
Updated

Axios is a promise based HTTP client for the browser and Node.js. Axios versions before 0.32.0 on the 0.x line and before 1.16.0 on the 1.x line build a regular expression from the configured XSRF cookie name without escaping regex metacharacters. In standard browser environments, an attacker who can influence the cookie name passed to axios can cause expensive regex backtracking while axios reads document.cookie. The practical impact is client-side availability degradation, such as freezing the affected browser tab while axios prepares a request. The issue does not affect ordinary Node.js HTTP adapter usage, React Native, or web workers, where axios does not read document.cookie. This vulnerability is fixed in 0.32.0 and 1.16.0.

Affected Software

1 affected component
npm/axios>=0.0.0<0.32.0, >=1.0.0<1.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.32.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.16.0

Event History

Jun 11, 2026
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2487943?

The severity of REDHAT-BUG-2487943 is classified as high with a score of 7.

2

How do I fix REDHAT-BUG-2487943?

To fix REDHAT-BUG-2487943, update Axios to version 0.32.0 or higher for the 0.x line or version 1.16.0 or higher for the 1.x line.

3

What vulnerability does REDHAT-BUG-2487943 address?

REDHAT-BUG-2487943 addresses a regular expression vulnerability in Axios that can be exploited by attackers through improperly handled XSRF cookie names.

4

What versions of Axios are affected by REDHAT-BUG-2487943?

Axios versions prior to 0.32.0 on the 0.x line and before 1.16.0 on the 1.x line are affected by REDHAT-BUG-2487943.

5

In what environments does the REDHAT-BUG-2487943 vulnerability pose a risk?

The REDHAT-BUG-2487943 vulnerability poses a risk in standard browser environments.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203