CVEvulnerability
CVE-2024-57965
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2025-01-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 0.0 NONE — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-346
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 configurations
• axios axios (< 1.7.8)
Related
Weakness · CWE (1)
- CWE-346 Origin Validation Error weakness
References
- https://github.com/axios/axios/commit/0a8d6e19da5b9899a2abafaaa06a75ee548597db Patch
- https://github.com/axios/axios/issues/6351 Issue Tracking
- https://github.com/axios/axios/pull/6714 Issue Tracking, Patch
- https://github.com/axios/axios/releases/tag/v1.7.8 Release Notes