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.
History

Wed, 12 Mar 2025 03:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Moderate


Fri, 07 Mar 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Mar 2025 15:30:00 +0000

Type Values Removed Values Added
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.
Title Possible SSRF and Credential Leakage via Absolute URL in axios Requests
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 7.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-03-07T15:13:15.155Z

Updated: 2025-03-07T19:32:17.511Z

Reserved: 2025-02-19T16:30:47.779Z

Link: CVE-2025-27152

cve-icon Vulnrichment

Updated: 2025-03-07T19:32:13.477Z

cve-icon NVD

Status : Received

Published: 2025-03-07T16:15:38.773

Modified: 2025-03-07T20:15:38.560

Link: CVE-2025-27152

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-03-07T15:13:15Z

Links: CVE-2025-27152 - Bugzilla