SSRF in Axios
CVE-2025-27152
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 56.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Axios — versions < 1.8.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- WillFortMadeTech/axiosVulnExample (last pushed 2026-02-19): A demonstration of the recent vuln CVE-2025-27152
- andreglock/axios-ssrf (last pushed 2026-02-17): Demonstration of CVE-2025-27152
- davidblakecoe/axios-CVE-2025-27152-PoC (last pushed 2025-06-06): Axios CVE-2025-27152 PoC
Also mentioned in 6 other repositories (backuardo/exploit-workbench, fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6 (Exploit, Vendor Advisory)
- https://github.com/axios/axios/issues/6463 (Broken Link)
This CVE has public exploit evidence. See the latest CVEs with public exploits.