First published: Wed Jan 29 2025(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
axios | <1.7.8 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-57965 is considered a low severity vulnerability as it primarily addresses a potential issue in how origins are determined.
To mitigate CVE-2024-57965, you should upgrade Axios to version 1.7.8 or later.
CVE-2024-57965 affects Axios versions before 1.7.8.
Some experts believe CVE-2024-57965 primarily resolves a warning from a static analysis tool rather than a significant security vulnerability.
While CVE-2024-57965 is not classified as high severity, it is still advisable to update to the latest version to ensure optimal security practices.