CVE-2023-45857
MEDIUM6.5EPSS 0.18%Axios Cross-Site Request Forgery Vulnerability
Published: 11/8/2023Modified: 2/4/2026
Description
An issue discovered in Axios 0.8.1 through 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.
Affected packages (2)
- Debian/node-axiosfrom 0
- npm/axios>= 1.0.0, < 1.6.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
References (13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-45857
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-45857
- PATCHhttps://github.com/axios/axios
- WEBhttps://github.com/axios/axios/commit/2755df562b9c194fba6d8b609a383443f6a6e967
- WEBhttps://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0
- WEBhttps://github.com/axios/axios/issues/6006
- WEBhttps://github.com/axios/axios/issues/6022
- WEBhttps://github.com/axios/axios/pull/6028
- WEBhttps://github.com/axios/axios/pull/6091
- WEBhttps://github.com/axios/axios/releases/tag/v0.28.0
- WEBhttps://github.com/axios/axios/releases/tag/v1.6.0
- WEBhttps://security.netapp.com/advisory/ntap-20240621-0006
- WEBhttps://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459