CVE-2025-27152
Axios vulnerability
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.
Affected products
Axios. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Axios runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/axios/axios/security/advisories/GHSA-jr5f-v2jv-69x6
- github.com/axios/axios/issues/6463
- github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f
- github.com/axios/axios/releases/tag/v1.8.2
- nvd.nist.gov/vuln/detail/CVE-2025-27152
- github.com/axios/axios/pull/6829
- github.com/axios/axios/commit/02c3c69ced0f8fd86407c23203835892313d7fde
- github.com/advisories/GHSA-jr5f-v2jv-69x6
- nvd.nist.gov/vuln/detail/CVE-2025-27152
- cve.org/CVERecord?id=CVE-2025-27152
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.