CVE-2024-57965: axios Origin Validation Error
CVSS: 9.8v3.1CriticalAnalyzed
AliasesUBUNTU-CVE-2024-57965DEBIAN-CVE-2024-57965
Published 29-01-2025Last modified 29-01-2025
Vulnerability summary
CVE-2024-57965 is a critical (CVSS 9.8) Origin Validation Error vulnerability in axios. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.8% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
0.38%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 29-01-2025PublishedVulnerability first disclosed.
- 29-01-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 versionCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSources4 sources · 0.0–9.8
- CVE.orgCNA0.0UnknownCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
0.00 pp
From 0.38% on 19-09-2026
19-09-202619-10-2026
EPSS score0.38%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Axios1 product
- axios< 1.7.8
Debian1 product
- node-axios< 1.2.1+dfsg-1+deb12u1 | < 1.7.9+dfsg-1
Ubuntu1 product
- node-axiosAll versions (No fix recorded)
3 vendors · 3 products
References
7 links- github.com/axios/axios/issues/6351Issue Tracking