CVE-2024-57965

published 29 Jan 2025 · updated 29 Jan 2025

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…

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.7.8.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
axios<1.7.81.7.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-57965 severity on Zeptric[![CVE-2024-57965](https://zeptric.io/badge/cve/CVE-2024-57965.svg)](https://zeptric.io/cve/CVE-2024-57965)