axios/axios · Security
Axios Cross-Site Request Forgery Vulnerability
- GHSA ID
- GHSA-wf5p-g6vw-rhxx
- CVE ID
- CVE-2023-45857
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
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.
CWEs
- CWE-352 · Cross-Site Request Forgery (CSRF)
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-45857 ↗
- https://github.com/axios/axios/issues/6006 ↗
- https://github.com/axios/axios/issues/6022 ↗
- https://github.com/axios/axios/pull/6028 ↗
- https://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0 ↗
- https://github.com/axios/axios/releases/tag/v1.6.0 ↗
- https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 ↗
- https://github.com/axios/axios/pull/6091 ↗
- https://github.com/axios/axios/commit/2755df562b9c194fba6d8b609a383443f6a6e967 ↗
- https://github.com/axios/axios/releases/tag/v0.28.0 ↗
- https://security.netapp.com/advisory/ntap-20240621-0006 ↗
- https://github.com/advisories/GHSA-wf5p-g6vw-rhxx ↗