CVE-2025-27152
HIGH 7.7CVSS 4.0axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL
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.
- Published
- 7 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-jr5f-v2jv-69x6
- Sources
- NVDJSONOSV GHSA-jr5f-v2jv-69x6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
< 0.30.0 | 0.30.0 |
| NVD | axios | axioscpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:* |
>= 1.0.0, <= 1.7.9 | |
| OSV | npm | axios | >= 1.0.0, < 1.8.2 | 1.8.2 |
| OSV | npm | axios | < 0.30.0 | 0.30.0 |
References
- https://github.com/axios/axios/issues/6463 · Broken Link, WEB
- https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27152 · ADVISORY
- https://github.com/axios/axios/pull/6829 · WEB
- https://github.com/axios/axios/commit/02c3c69ced0f8fd86407c23203835892313d7fde · WEB
- https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f · WEB
- https://github.com/axios/axios · PACKAGE
- https://github.com/axios/axios/releases/tag/v1.8.2 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 7 Mar 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Mar 2025)