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

Weakness classification (CWE)

Public exploits and proof-of-concept code

3 public repositories with exploit or proof-of-concept code for this CVE:

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