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)
EPSS: 0.008 (51.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Axios — versions < 1.8.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, 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.