CVE-2025-27152axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.8% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.8%
- percentile 51%
- Fix
- Named by a source
- CVE published 7 Mar 2025
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.8% (+1) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- axios (npm): upgrade to 1.8.2 / 0.30.0 or later on your release line.
- Commit / pull request: https://github.com/axios/axios/pull/6829
- Commit / pull request: https://github.com/axios/axios/commit/02c3c69ced0f8fd86407c23203835892313d7fde
- Commit / pull request: https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-27152
Who should check
axios (npm) pkg:npm/axios
- Affected>= 1.0.0, < 1.8.2Fixed in1.8.2OSV (GHSA-jr5f-v2jv-69x6)
- Affected< 0.30.0Fixed in0.30.0OSV (GHSA-jr5f-v2jv-69x6)
axios axios product:axios/axios
- Affected< 1.8.2Affected range ends before1.8.2as published by CNA (CVE List)
- Affected< 0.30.0Affected range ends before0.30.0as published by CPE data (via the NVD API)
- Affected>= 1.0.0, <= 1.7.9Last known affected1.7.9as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 5.3 MEDIUM (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-918
- Exploitation (CISA SSVC)
- poc
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 7 Mar 2025Published
References
- otherhttps://github.com/axios/axios/issues/6463
- exploithttps://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-27152
- commit / pull requesthttps://github.com/axios/axios/pull/6829
- commit / pull requesthttps://github.com/axios/axios/commit/02c3c69ced0f8fd86407c23203835892313d7fde
- commit / pull requesthttps://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f
- otherhttps://github.com/axios/axios
- otherhttps://github.com/axios/axios/releases/tag/v1.8.2
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2025-27152 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-jr5f-v2jv-69x6 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 44 min ago · osv 44 min ago · nvd 44 min ago · epss 43 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-jr5f-v2jv-69x6