Vulnerability Database · npm · axios · Version

axios 0.31.1

0.31.1 is affected by 15 vulnerabilities.

The vulnerabilities that cover this exact version are listed below with the fixed version to move to. The upgrade Vulert recommends: 1.20.0.

Critical 3 High 5 Medium 7 Low 0 Unrated 0

Released 19 Apr 2026 Licence MIT Also known from other sources 14 Newer releases 145 Database updated 23/Oct/2026

Release and licence data published by the npm registry. Licence information is not legal advice.

Concerned about your application's security?

Vulert continues monitoring your dependencies and alerts you when new vulnerabilities are disclosed. No installation and no source-code access required.

01 Vulnerabilities affecting this version

axios 0.31.1 vulnerabilities

15 vulnerabilities cover axios 0.31.1. Scroll the table for all of them, or open the full list in the database.

Vulnerability Severity Fixed version Disclosed
CVE-2026-40175: Axios Library Vulnerability Leading to Unrestricted Cloud Metadata Exfiltration 10.0 critical 1.15.0 10 Apr 2026
CVE-2025-62718: Axios NO_PROXY Hostname Normalization Bypass Leading to SSRF 9.3 critical 1.15.0 09 Apr 2026
CVE-2026-101909: Axios Prototype Pollution Vulnerability in toFormData Options 8.3 high 0.34.0 30 Sep 2026
Proxy Pollution Vulnerability in Axios Package Allows Attacker-Controlled Proxy Routing 8.3 high 0.33.0 20 Jul 2026
CVE-2026-25639: Axios Denial of Service via __proto__ Key in mergeConfig 7.5 high 1.13.5 09 Feb 2026
CVE-2025-58754: Axios DoS Vulnerability Due to Lack of Data Size Check 7.5 high 1.12.0 11 Sep 2025
CVE-2025-58754: Axios DoS Vulnerability Due to Unchecked Data URI Size 7.5 high 1.12.0 11 Sep 2025
CVE-2026-101902: Axios Prototype Pollution Vulnerability Allows HTTP Method Override 6.9 medium 0.34.0 30 Sep 2026
Denial of Service Vulnerability in Axios Package Due to Incomplete Depth-Limit Bypass 6.9 medium 0.33.0 20 Jul 2026
Prototype Pollution Vulnerability in Axios: Inherited Properties in Nested Option Objects 6.3 medium 0.33.0 20 Jul 2026
Denial of Service Vulnerability in Axios: Excessive Recursion in formDataToJSON 6.3 medium 0.33.0 20 Jul 2026
Denial of Service Vulnerability in Axios: Uncontrolled Recursion in formToJSON 6.3 medium 0.33.0 20 Jul 2026
CVE-2026-39865: Axios HTTP/2 Session Cleanup State Corruption Vulnerability 5.9 medium 1.13.2 08 Apr 2026
Prototype Pollution Vulnerability in Axios: Risk of Altered Request Construction N/A medium No fix published 01 Aug 2026
Critical Malicious Code Vulnerability in Axios Package N/A critical No fix published 31 Mar 2026

Looking for another version, or everything Vulert holds for axios?

All versions → Full vulnerability list →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →

Questions

About axios 0.31.1

Is axios 0.31.1 vulnerable?

Yes. 15 vulnerabilities in the Vulert database cover axios 0.31.1: 3 critical, 5 high, 7 medium and 0 low. The upgrade Vulert recommends is 1.20.0, and each entry above names the fixed version to move to.

Which version of axios should I use instead of 0.31.1?

1.20.0 is the version Vulert recommends for this release line. The version table on the package page lists every release with the vulnerabilities recorded against it.

Is 0.31.1 the latest release of axios?

No. 0.31.1 was published 19 Apr 2026, and newer releases exist. Newer is not automatically safer — the version table on the package page shows what each release carries.

What does a malicious-package vulnerability mean?

It means the published package itself contained hostile code — a backdoor, a credential stealer or similar — rather than only a bug. Registries remove such packages once they are confirmed, so treat any application that resolved an affected version as compromised and rotate the credentials it could reach.

How do I monitor axios for upcoming vulnerabilities?

Upload the manifest or SBOM for your application at vulert.com/scanner and Vulert keeps checking the axios version you actually run against new disclosures, then alerts you when one affects it. There is no installation and no source-code access required.