Skip to content
OpenAdvisories
None · 0.0 CVE-2024-57965 EUVD-2024-53865GHSA-fh7x-2848-jmpf

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 …

Published Jan 29, 2025 · Updated Jan 29, 2025 · Assigned by mitre

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 products

VendorProductAffectedFixed
axios axios < 1.7.8 1.7.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-axios 1.7.9+dfsg-1 —
Debian 13 node-axios 1.7.9+dfsg-1 —
Debian 12 node-axios 1.2.1+dfsg-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS node-axios No fix yet —
Ubuntu Pro 22.04 LTS node-axios No fix yet —
Ubuntu Pro 20.04 LTS node-axios No fix yet —

Advisories 2

References