CVE-2025-27152
Last modified
CVE-2025-27152 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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. EPSS estimates a 0.76% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Axios | Axios | < 0.30.0 |
| Axios | Axios | >= 1.0.0, <= 1.7.9 |
References
- https://github.com/axios/axios/issues/6463Broken Link
- https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6Exploit, Vendor Advisory
- https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-27152?
How severe is CVE-2025-27152?
How do I fix CVE-2025-27152?
Are you affected by CVE-2025-27152?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
