CVE-2025-27152

CVE-2025-27152 is a medium-severity vulnerability in Axios with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-918.

Key facts

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.

Frequently asked questions

What is CVE-2025-27152?
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.
How severe is CVE-2025-27152?
CVE-2025-27152 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
Is CVE-2025-27152 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (51st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-27152?
CVE-2025-27152 affects Axios. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-27152?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-27152 have an EU (EUVD) identifier?
Yes. CVE-2025-27152 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-7731.
When was CVE-2025-27152 published?
CVE-2025-27152 was published on 2025-03-07 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Axios

All CVEs affecting Axios →

Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities

Browse all CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: