Ad

CVE-2024-57965

CRITICAL CVSS 3.1: 9.8 EPSS 0.09%
Updated Sep 19, 2025
Axios
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 1.7.8
Fixed In 1.7.8
Type CWE-346 (Origin Validation Error)
Vendor Axios
Public PoC No

In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining an origin, and has a potentially unwanted setAttribute('href',href) call. NOTE: some parties feel that the code change only addresses a warning message from a SAST tool and does not fix a vulnerability.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Axios Axios
cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
1.7.8