CSRF in Axios
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 X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.007, 54.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Axios — versions 1.5.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- fuyuooumi1027/CVE-2023-45857-Demo (1 star, last pushed 2023-11-24)
- intercept6/CVE-2023-45857-Demo (last pushed 2023-10-26): CVE-2023-45857の挙動を確認するデモ
- valentin-panov/CVE-2023-45857 (last pushed 2023-10-19)
Also mentioned in 9 other repositories (bmuenzenmeyer/axios-1.0.0-migration-guide, dansclearov/interview-assignment, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/axios/axios/issues/6006 (Exploit, Issue Tracking)
- security.netapp.com/advisory/ntap-20240621-0006/
This CVE has public exploit evidence. See the latest CVEs with public exploits.