CVE-2025-27152CWE-918

Possible SSRF and Credential Leakage via Absolute URL in axios Requests

High · published March 7, 2025

CVSS v4.0
7.7
EPSS
1%
Percentile
55.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
EPSS
0.00792 · 55.9th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-03-07T15:13Z
EPSS history
Timeline
  • 07 MAR 15:13Z
    Possible SSRF and Credential Leakage via Absolute URL in axios Requests
    cvelistv5