CVE-2025-27152: Axios

Medium severity, CVSS 5.3. EPSS: 0.8% chance of exploitation in the next 30 days.

axios is a promise based HTTP client for the browser and node.js. The issue occurs when passing absolute URLs rather than protocol-relative URLs to axios. Even if ⁠baseURL is set, axios sends the request to the specified absolute URL, potentially causing SSRF and credential leakage. This issue impacts both server-side and client-side usage of axios. This issue is fixed in 1.8.2.

Affected products

  • Axios Axios: before 0.30.0 (fixed in 0.30.0); from 1.0.0, up to and including 1.7.9

Published 2025-03-07. Last modified 2026-06-17.