Vulnerability in Axios
CVE-2024-57965
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.
Published · last modified .
EPSS exploit prediction
EPSS 0.004, 32.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Axios — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (NUS-ISS-SECURE-TEAM-5/mall-admin-frontend). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/axios/axios/issues/6351 (Issue Tracking)
- github.com/axios/axios/releases/tag/v1.7.8 (Release Notes)
- github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db (Patch)
- github.com/axios/axios/pull/6714 (Patch, Issue Tracking)