Possible SSRF and Credential Leakage via Absolute URL in axios Requests
Summary
Possible SSRF and Credential Leakage via Absolute URL in axios Requests
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-27152 node-axios
- Ubuntu UBUNTU-CVE-2025-27152 node-axios
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- report github.com