{"id":"CVE-2024-57965","details":"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.","modified":"2026-03-15T22:48:53.324630Z","published":"2025-01-29T09:15:08.183Z","references":[{"type":"ADVISORY","url":"https://github.com/axios/axios/releases/tag/v1.7.8"},{"type":"REPORT","url":"https://github.com/axios/axios/issues/6351"},{"type":"FIX","url":"https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db"},{"type":"FIX","url":"https://github.com/axios/axios/pull/6714"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/axios/axios","events":[{"introduced":"0"},{"fixed":"415ca9440195586dcd2149aa6f1e99f0ff6957c2"},{"fixed":"0a8d6e19da5b9899a2abafaaa06a75ee548597db"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.7.8"}]}}],"versions":["0.19.1","0.21.3","1.2.0-alpha.1","1.2.2","v0.1.0","v0.10.0","v0.11.0","v0.11.1","v0.12.0","v0.13.0","v0.13.1","v0.14.0","v0.15.0","v0.15.1","v0.15.2","v0.15.3","v0.16.0","v0.16.1","v0.16.2","v0.17.0","v0.17.1","v0.18.0","v0.19.0","v0.19.0-beta.1","v0.19.1","v0.19.2","v0.2.0","v0.2.1","v0.2.2","v0.20.0","v0.20.0-0","v0.21.0","v0.21.2","v0.23.0","v0.24.0","v0.25.0","v0.26.0","v0.26.1","v0.27.0","v0.27.1","v0.27.2","v0.3.0","v0.3.1","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.5.1","v0.5.2","v0.5.3","v0.5.4","v0.6.0","v0.7.0","v0.8.0","v0.8.1","v0.9.0","v0.9.1","v1.0.0","v1.0.0-alpha.1","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.4.0","v1.5.0","v1.5.1","v1.6.0","v1.6.1","v1.6.2","v1.6.3","v1.6.4","v1.6.5","v1.6.6","v1.6.7","v1.6.8","v1.7.0","v1.7.0-beta.0","v1.7.0-beta.1","v1.7.0-beta.2","v1.7.1","v1.7.2","v1.7.3","v1.7.4","v1.7.5","v1.7.6","v1.7.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57965.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}