CVE Catalog

CVE-2025-27152

High
Published: Translated: NVD NIST

Summary

A vulnerability in the axios library allows sending requests to absolute URLs instead of relative ones, potentially leading to SSRF attacks and credential leakage. Even with baseURL set, axios ignores it and sends the request to the specified absolute URL.

Risk Assessment

The risk includes unauthorized access to internal network resources (SSRF) and potential leakage of sensitive credentials, which could expose the organization to security breaches and data loss.

Recommendation

It is recommended to immediately update the axios library to the latest patched version and verify that the application does not use absolute URLs in a way that could be exploited.

Other vulnerabilities in axios

See all
Original NVD description (English 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 impac

Vulnerability data from NVD (NIST) · CISA KEV · EPSS