CVE-2024-57965
In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining...
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 profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
0.0
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.
- Record
CVE-2024-57965- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N - Weakness
- CWE-346
- Updated
- 2026-11-02
EUVDEUVD-2024-53865
0.0
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.
- Record
EUVD-2024-53865- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fh7x-2848-jmpf
0.0
In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining...
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.
- Record
GHSA-fh7x-2848-jmpf- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N - Weakness
- CWE-346
- Updated
- 2026-11-02
NVD
0.0
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.
- Record
CVE-2024-57965- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-346
- Updated
- 2026-11-02
OSV
0.0
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.
- Record
CVE-2024-57965- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N - Weakness
- CWE-346
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-57965
9.8
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.
- Record
DEBIAN-CVE-2024-57965- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-57965
0.0
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.
- Record
UBUNTU-CVE-2024-57965- CVSS 3.1
- 0.0 None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
node-axiosDebian:12 |
before 1.2.1+dfsg-1+deb12u1, plus listed versions 1.2.1+dfsg-1 |
1.2.1+dfsg-1+deb12u1 |
node-axiosDebian:13 |
before 1.7.9+dfsg-1 | 1.7.9+dfsg-1 |
node-axiosDebian:14 |
before 1.7.9+dfsg-1 | 1.7.9+dfsg-1 |
node-axiosUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 0.19.0+dfsg-20.19.0+dfsg-2ubuntu0.1~esm1 |
None known |
node-axiosUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 0.21.1+dfsg-10.23.0+dfsg-20.24.0+dfsg-10.25.0+dfsg-20.26.0+dfsg-10.26.0+dfsg-1ubuntu0.1~esm1 |
None known |
node-axiosUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 1.2.1+dfsg-11.5.1+dfsg-11.6.2+dfsg-11.6.8+dfsg-21.6.8+dfsg-2ubuntu0.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-57965 is a none vulnerability (CVSS 0.0) in Axios, published January 29, 2025. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 0.38%, the 31st percentile. Fixed in node-axios 1.2.1+dfsg-1+deb12u1.