CVE-2023-45857Axios
Medium 6.5 No auth needed
Follow: this CVE · Axios · Axios We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 49
- Auth required
- No
- Published
- Nov 8, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Axios.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | axios |
≥ 1.0.0 < 1.6.0 |
1.6.0 |
npm install axios@1.6.0 |
| npm | axios |
≥ 0.8.1 < 0.28.0 |
0.28.0 |
npm install axios@0.28.0 |
Per OSV / GitHub Advisories (GHSA-wf5p-g6vw-rhxx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| axios | axios | 1.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking
- security.netapp.com