CVE-2025-27152: Possible SSRF and Credential Leakage via Absolute URL in axios Requests
Medium · CVSS 5.3 (CVSS 3.1)EPSS 0.79%, 56th percentilePublished Updated Assigner: GitHub_M
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N · CWE-918
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
axios: axios
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/axios/axios/issues/6463 (opens in new tab)
- github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)