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.
CVSS Metrics
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:N
- Attack Vector
- network
- Complexity
- high
- Privileges
- none
- User Action
- none
- Scope
- changed
- Confidentiality
- none
- Integrity
- none
- Availability
- none
- Weaknesses
- CWE-346
Metadata
- Primary Vendor
- AXIOS
- Published
- 1/29/2025
- Last Modified
- 9/19/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
axios : axios
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.