Advisory

GHSA-wf5p-g6vw-rhxx

Also known as: CVE-2023-45857

Summary

Axios Cross-Site Request Forgery Vulnerability

Details

An issue discovered in Axios 0.8.1 through 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-11-08 21:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

axios

npm · All systems

Affected

  • introduced 1.0.0, fixed 1.6.0 (semver)

Fixed versions

1.6.0

Fix

axios

npm · All systems

Affected

  • introduced 0.8.1, fixed 0.28.0 (semver)

Fixed versions

0.28.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences