{"schema_version":"1.7.3","id":"GHSA-wf5p-g6vw-rhxx","published":"2023-11-08T21:30:37Z","modified":"2026-02-04T02:41:22.966638Z","aliases":["CVE-2023-45857"],"related":["CGA-cw62-762j-87ch"],"summary":"Axios Cross-Site Request Forgery Vulnerability","details":"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":[{"package":{"name":"axios","ecosystem":"npm","purl":"pkg:npm/axios"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-wf5p-g6vw-rhxx/GHSA-wf5p-g6vw-rhxx.json"}},{"package":{"name":"axios","ecosystem":"npm","purl":"pkg:npm/axios"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.8.1"},{"fixed":"0.28.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-wf5p-g6vw-rhxx/GHSA-wf5p-g6vw-rhxx.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45857"},{"type":"WEB","url":"https://github.com/axios/axios/issues/6006"},{"type":"WEB","url":"https://github.com/axios/axios/issues/6022"},{"type":"WEB","url":"https://github.com/axios/axios/pull/6028"},{"type":"WEB","url":"https://github.com/axios/axios/pull/6091"},{"type":"WEB","url":"https://github.com/axios/axios/commit/2755df562b9c194fba6d8b609a383443f6a6e967"},{"type":"WEB","url":"https://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0"},{"type":"PACKAGE","url":"https://github.com/axios/axios"},{"type":"WEB","url":"https://github.com/axios/axios/releases/tag/v0.28.0"},{"type":"WEB","url":"https://github.com/axios/axios/releases/tag/v1.6.0"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0006"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459"}],"database_specific":{"cwe_ids":["CWE-352"],"github_reviewed":true,"github_reviewed_at":"2023-11-10T00:35:37Z","nvd_published_at":"2023-11-08T21:15:08Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}