CVE-2025-27152 Details
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.
A vulnerability in axios, a promise-based HTTP client for the browser and Node.js, allows for Server-Side Request Forgery (SSRF) and credential leakage when absolute URLs are passed to axios requests. This issue occurs even if a baseURL is set, as axios will send the request to the specified absolute URL instead of appending it to the baseURL. The vulnerability affects both server-side and client-side usage of axios. The root cause lies in axios's handling of protocol-relative URLs, which are processed as absolute URLs on the server side, leading to unintended requests to external hosts.
Users can update axios to version 1.8.2 or 0.30.0, both of which contain the fix for this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/axios/axios/issues/6463 | [email protected] | Broken Link |
| https://github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios axios | < 0.30.0 >= 1.0.0, <= 1.7.9 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | Reanalysis | [email protected] |
| Sep 22, 2025 | Initial Analysis | [email protected] |
| Mar 7, 2025 | CVE Modified | CISA-ADP |
| Mar 7, 2025 | New CVE Received | [email protected] |