{"id":"CVE-2023-45857","aliases":["CVE-2023-45857","GHSA-wf5p-g6vw-rhxx"],"related":[],"kind":"vulnerability","state":"published","title":"Axios Cross-Site Request Forgery Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un problema descubierto en Axios 1.5.1 revela inadvertidamente el XSRF-TOKEN confidencial almacenado en las cookies al incluirlo en el encabezado HTTP X-XSRF-TOKEN para cada solicitud realizada a cualquier host, lo que permite a los atacantes ver información sensible.","source":"nvd"}],"published":"2023-11-08T00:00:00.000Z","modified":"2026-09-10T03:49:47.742Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.6.0"}],"ecosystem":"npm","package":"axios","purl":"pkg:npm/axios","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.8.1","status":"affected","fixed":"0.28.0"}],"ecosystem":"npm","package":"axios","purl":"pkg:npm/axios","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.5.1"}],"vendor":"axios","product":"axios","cpe":"cpe:2.3:a:axios:axios:1.5.1:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/axios/axios/issues/6006","tags":["exploit","issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45857","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/issues/6022","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/pull/6028","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/pull/6091","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/commit/2755df562b9c194fba6d8b609a383443f6a6e967","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/releases/tag/v0.28.0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/releases/tag/v1.6.0","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006","tags":["web"],"sources":["ghsa"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-09-04T15:13:57.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45857","url":"https://www.cve.org/CVERecord?id=CVE-2023-45857","licence":"CVE Terms of Use","modified":"2024-09-04T15:15:16.506Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wf5p-g6vw-rhxx","url":"https://github.com/advisories/GHSA-wf5p-g6vw-rhxx","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:47.742Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45857","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45857","licence":"Public domain","modified":"2026-06-17T06:29:40.133Z"}],"updatedAt":"2026-11-25T22:58:30.223Z","epss":{"score":0.00729,"percentile":0.55456,"date":"2026-12-01T12:00:22.000Z"}}