CVE-2023-45857 Details
Description
An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.
A vulnerability in Axios versions 0.8.1 through 1.5.1 has been identified, where the library unintentionally exposes the XSRF-TOKEN cookie value by including it in the X-XSRF-TOKEN header for every request made to any host. This occurs when the XSRF-TOKEN cookie is present and the withCredentials option is enabled, potentially allowing attackers to bypass CSRF protection.
Users can upgrade to Axios version 1.6.0, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 4, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/axios/axios/issues/6006 | CVE | ExploitIssue Tracking |
| https://security.netapp.com/advisory/ntap-20240621-0006/ | CVE | |
| https://github.com/axios/axios/issues/6006 | [email protected] | ExploitIssue Tracking |
| https://security.netapp.com/advisory/ntap-20240621-0006/ | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios axios | 1.5.1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Jun 21, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 16, 2023 | Initial Analysis | [email protected] |
| Nov 8, 2023 | New CVE Received | [email protected] |