CVE-2024-57965: axios Origin Validation Error
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 33.5% of scored vulnerabilities.
Not severe (CVSS 0, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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 version- 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
34%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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