CVE-2024-57965

NONE
Published Jan 29, 2025 Modified Sep 19, 2025 CWE-346

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.

Is your site exposed to CVE-2024-57965?

Run a free security scan — no signup, results in seconds.

Weakness Type (CWE)

CWE-346 CWE-346

Affected Products

Vendor Product
axios axios

References

Frequently Asked Questions

What is 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.
What products are affected by CVE-2024-57965? +
CVE-2024-57965 affects products from axios, specifically: axios. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-57965? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-57965 — free, no signup required.