GitHub Advisoryadvisory · npm
GHSA-wf5p-g6vw-rhxx Axios Cross-Site Request Forgery Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2023-45857
- Ecosystem
- npm
- Packages
- axios
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-352
- Reviewed
- 2023-11-10
Affected packages
• npm axios: >= 1.0.0, < 1.6.0 → fixed in 1.6.0
• npm axios: >= 0.8.1, < 0.28.0 → fixed in 0.28.0
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.
Related
Alias · CVE (1)
- CVE-2023-45857 An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header… vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-45857 advisory
- https://github.com/axios/axios/issues/6006 web
- 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.netapp.com/advisory/ntap-20240621-0006 web
- https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459 web