CVE-2023-45857
MEDIUM 6.5CVSS 3.1Axios Cross-Site Request Forgery Vulnerability
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.
- Published
- 8 Nov 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-wf5p-g6vw-rhxx
- Sources
- NVDJSONOSV GHSA-wf5p-g6vw-rhxxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | axios | axioscpe:2.3:a:axios:axios:1.5.1:*:*:*:*:node.js:*:* |
= 1.5.1 | |
| OSV | npm | axios | >= 1.0.0, < 1.6.0 | 1.6.0 |
| OSV | npm | axios | >= 0.8.1, < 0.28.0 | 0.28.0 |
References
- https://github.com/axios/axios/issues/6006 · Exploit, Issue Tracking, WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-45857 · ADVISORY
- https://github.com/axios/axios/issues/6022 · WEB
- https://github.com/axios/axios/pull/6028 · WEB
- https://github.com/axios/axios/pull/6091 · WEB
- https://github.com/axios/axios/commit/2755df562b9c194fba6d8b609a383443f6a6e967 · WEB
- https://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0 · WEB
- https://github.com/axios/axios · PACKAGE
- https://github.com/axios/axios/releases/tag/v0.28.0 · WEB
- https://github.com/axios/axios/releases/tag/v1.6.0 · WEB
- https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 8 Nov 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Nov 2023)