Paper/Archive/CVE-2024-57965

CVE-2024-57965

axios axios — In axios before 1.7.8, lib/helpers/isURLSameOrigin.js does not use a URL object when determining an origin, and has a potentially unwante…

Description · from the CVE record

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

ProductAffectedFixed inSource
axios< 1.7.81.7.8CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitre (CNA)0.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

refgithub.com/axios/axios/issues/6351refgithub.com/axios/axios/releases/tag/v1.7.8refgithub.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597dbrefgithub.com/axios/axios/pull/6714