CVE-2024-57965

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.
CVSS

No CVSS.

Configurations

Configuration 1 (hide)

cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*

History

19 Sep 2025, 19:38

Type Values Removed Values Added
First Time Axios
Axios axios
Summary
  • (es) En axios anterior a la versión 1.7.8, lib/helpers/isURLSameOrigin.js no utiliza un objeto URL al determinar un origen y tiene una llamada setAttribute('href',href) potencialmente no deseada. NOTA: algunas partes consideran que el cambio de código solo soluciona un mensaje de advertencia de una herramienta SAST y no corrige una vulnerabilidad.
CPE cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
References () https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db - () https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db - Patch
References () https://github.com/axios/axios/issues/6351 - () https://github.com/axios/axios/issues/6351 - Issue Tracking
References () https://github.com/axios/axios/pull/6714 - () https://github.com/axios/axios/pull/6714 - Issue Tracking, Patch
References () https://github.com/axios/axios/releases/tag/v1.7.8 - () https://github.com/axios/axios/releases/tag/v1.7.8 - Release Notes

29 Jan 2025, 10:15

Type Values Removed Values Added
CWE CWE-346
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 0.0

29 Jan 2025, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-29 09:15

Updated : 2025-09-19 19:38


NVD link : CVE-2024-57965

Mitre link : CVE-2024-57965

CVE.ORG link : CVE-2024-57965


JSON object : View

Products Affected

axios

  • axios
CWE
CWE-346

Origin Validation Error