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 (54.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 54.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Axios — versions < 1.8.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6 (Exploit, Vendor Advisory)
- github.com/axios/axios/issues/6463 (Broken Link)
Frequently asked questions
- What is CVE-2025-27152?
- CVE-2025-27152 is a medium-severity vulnerability in Axios, classified under Server-Side Request Forgery (SSRF). CVSS score: 5.3/10. Published 2025-03-07.
- How severe is CVE-2025-27152?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2025-27152 known to be exploited?
- 9 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.