axios up to 1.7.7 isURLSameOrigin.js origin validation ⚔ [Disputed]
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in axios up to 1.7.7. Affected is an unknown function of the file lib/helpers/isURLSameOrigin.js. Performing a manipulation results in origin validation. This vulnerability is known as CVE-2024-57965. Remote exploitation of the attack is possible. No exploit is available. The real existence of this vulnerability is still doubted at the moment. It is recommended to upgrade the affected component.
Details
A vulnerability classified as problematic has been found in axios up to 1.7.7. This affects some unknown processing of the file lib/helpers/isURLSameOrigin.js. The manipulation with an unknown input leads to a origin validation vulnerability. CWE is classifying the issue as CWE-346. The product does not properly verify that the source of data or communication is valid. This is going to have an impact on integrity. The summary by CVE is:
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.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2024-57965 since 01/29/2025. The exploitability is told to be difficult. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available.
The real existence of this vulnerability is still doubted at the moment.
Upgrading to version 1.7.8 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 0a8d6e19da5b9899a2abafaaa06a75ee548597db is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2024-53865). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Name
Version
License
Website
- Product: https://github.com/axios/axios/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.2VulDB Meta Temp Score: 5.2
VulDB Base Score: 3.7
VulDB Temp Score: 3.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 2.2
CNA Vector (MITRE): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Origin validationCWE: CWE-346 / CWE-345
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: axios 1.7.8
Patch: 0a8d6e19da5b9899a2abafaaa06a75ee548597db
Timeline
01/29/2025 🔍01/29/2025 🔍
01/29/2025 🔍
09/20/2025 🔍
Sources
Product: github.comAdvisory: 6351
Status: Confirmed
Disputed: 🔍
CVE: CVE-2024-57965 (🔍)
GCVE (CVE): GCVE-0-2024-57965
GCVE (VulDB): GCVE-100-293985
EUVD: 🔍
Entry
Created: 01/29/2025 11:39Updated: 09/20/2025 09:20
Changes: 01/29/2025 11:39 (34), 01/29/2025 11:42 (29), 01/29/2025 14:03 (1), 02/24/2025 15:39 (13), 06/30/2025 07:47 (1), 09/20/2025 09:20 (12)
Complete: 🔍
Committer: mitr
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.