# CVE-2023-45857: Axios Cross-Site Request Forgery Vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-08T00:00:00.000Z
- Modified: 2026-09-10T03:49:47.742Z
- Also known as: GHSA-wf5p-g6vw-rhxx
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- axios (npm): from 1.0.0 before 1.6.0; from 0.8.1 before 0.28.0
- axios axios: 1.5.1

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/axios/axios/issues/6006> (exploit, issue-tracking, web)
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45857> (advisory)
- <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)

## Sources

- CVE List: [CVE-2023-45857](https://www.cve.org/CVERecord?id=CVE-2023-45857), CVE Terms of Use, modified 2024-09-04
- GitHub Advisory Database: [GHSA-wf5p-g6vw-rhxx](https://github.com/advisories/GHSA-wf5p-g6vw-rhxx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-45857](https://nvd.nist.gov/vuln/detail/CVE-2023-45857), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45857 · Whole record: https://cve.day/CVE-2023-45857.json · Rebuilt by cve.day 2026-11-25T22:58:30.223Z
