Description
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 products
axios: axios
References10
- github.com/axios/axios/security/advisories/GHSA-hfxv-24rg-xrqf ExploitMitigationVendor Advisory
- github.com/axios/axios/security/advisories/GHSA-hfxv-24rg-xrqf ExploitMitigationVendor Advisory
- access.redhat.com/errata/RHSA-2026:20889
- access.redhat.com/errata/RHSA-2026:20938
- access.redhat.com/errata/RHSA-2026:27044
- access.redhat.com/errata/RHSA-2026:27063
- access.redhat.com/errata/RHSA-2026:28571
- access.redhat.com/errata/RHSA-2026:28964
- access.redhat.com/errata/RHSA-2026:29082
- access.redhat.com/errata/RHSA-2026:29197
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 5% percentile: 93 · as of 16 November 2026
- CWE
- CWE-400CWE-1333
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.