Vulnerability library
Security checkJune 11, 2026

Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injection

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

High severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

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

  • Affected version(s): **<= 0.31.1 >= 1.0.0, < 1.16.0**
  • Patched version(s): **0.32.0 1.16.0**

References

Could your website be exposed too?

SmartScanner can check your website for Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injection and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 11, 2026