CVE-2024-57965 json
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…
published 2025-01-29 21 mo ago modified 2026-06-17 4 mo ago also EUVD-2024-53865
- cvss
- 0.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- axios axios 1.7.8
- node-axios Debian 12 1.2.1+dfsg-1+deb12u1
- node-axios Debian 14, Debian 13 1.7.9+dfsg-1
debian advisories DEBIAN-CVE-2024-57965
- github.com/axios/axios@0a8d6e1 commit
- github.com/axios/axios#6714 pull request
- github.com/axios/axios/releases/tag/v1.7.8 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 0.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- axios axios
Classification
- Weakness
-
- CWE-346 Origin Validation Error
References
-
github.com
/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db
patch
-
github.com
/axios/axios/pull/6714
issue-tracking, patch
-
github.com
/axios/axios/issues/6351
issue-tracking
-
github.com
/axios/axios/releases/tag/v1.7.8
release-notes
Sources
- CVE List CVE-2024-57965
- NVD CVE-2024-57965
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.