What is 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.
The record classifies CVE-2025-27152 under weakness class CWE-918. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 600 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 5.3 — MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS v4.0 base score
- 7.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P - EPSS (FIRST)
- 0.7% probability of exploitation in the next 30 days, higher than 55.0% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 6.9/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2025-03-07
Is CVE-2025-27152 being exploited?
Weaponised exploit code for CVE-2025-27152 is publicly available. 3 public proof-of-concept repositories are tracked for this identifier. It currently carries a trending score of 27 in the Threadlinqs vulnerability feed.
- andreglock/axios-ssrf (github)
- davidblakecoe/axios-CVE-2025-27152-PoC (github)
- trickest/cve (trickest)
Affected products and versions
- (vendor unspecified): axios:axios
How to fix CVE-2025-27152
Vendor advisory: https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2025-27152
2 tracked threats in the Threadlinqs corpus reference CVE-2025-27152, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, public proof-of-concept repositories. Last verified by Threadlinqs on . This product uses the NVD API but is not endorsed or certified by the NVD.