SSRF in Axios

CVE-2025-62718

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback addresses like localhost. (with a trailing dot) or [::1] (IPv6 literal) skip NO_PROXY matching and go through the configured proxy. This goes against what developers expect and lets attackers force requests through a proxy, even if NO_PROXY is set up to protect loopback or internal services. This issue leads to the possibility of proxy bypass and SSRF vulnerabilities allowing attackers to reach sensitive loopback or internal services despite the configured protections. This vulnerability is fixed in 1.15.0 and 0.31.0.

EPSS: 0.012 (65.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L.

Affected products

  • Axios — versions >= 1.0.0, < 1.15.0, < 0.31.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-62718?
CVE-2025-62718 is a critical-severity vulnerability in Axios, classified under Unintended Proxy or Intermediary (Confused Deputy). CVSS score: 9.9/10. Published 2026-04-09.
How severe is CVE-2025-62718?
Critical severity. CVSS v3 base score is 9.9 out of 10.