Vulnerability · Published Nov 8, 2023 · Assigned by mitre
CVE-2023-45857
Medium 6.5
In plain English
A medium-severity security flaw in the node-axios package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.7%top 45.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-axios | 1.2.1+dfsg-1+deb12u1 | DEBIAN-CVE-2023-45857 |
| Debian:13 | node-axios | 1.6.2+dfsg-1 | DEBIAN-CVE-2023-45857 |
| Debian:14 | node-axios | 1.6.2+dfsg-1 | DEBIAN-CVE-2023-45857 |
| Ubuntu:25.10 | node-axios | no fix listed | UBUNTU-CVE-2023-45857 |
| Ubuntu:26.10 | node-axios | no fix listed | UBUNTU-CVE-2023-45857 |
| npm | axios | 0.28.0 | GHSA-wf5p-g6vw-rhxx |
| npm | axios | 1.6.0 | GHSA-wf5p-g6vw-rhxx |