Vulnerabilities / CVE-2024-57965

critical

CVE-2024-57965

In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a U ...

Published Modified CWE 346
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD.

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11node-axiosno fix listed
debian 12node-axios1.2.1+dfsg-1+deb12u1
debian 13node-axios1.7.9+dfsg-1
debian 14node-axios1.7.9+dfsg-1
echonode-axios1.2.1+dfsg-1+deb12u1
rapidfort debian 12node-axios0:1.7.9+dfsg-1
rapidfort debian 13node-axios0:1.7.9+dfsg-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.