CVE-2023-45857
Axios Cross-Site Request Forgery Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2023-45857- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-352
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2023-45857- Updated
- 2026-11-02
EUVDEUVD-2023-3051 No score
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.
- Record
EUVD-2023-3051- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wf5p-g6vw-rhxx
6.5
Axios Cross-Site Request Forgery Vulnerability
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.
- Record
GHSA-wf5p-g6vw-rhxx- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-352
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-45857
6.5
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.
- Record
DEBIAN-CVE-2023-45857- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-wf5p-g6vw-rhxx
6.5
Axios Cross-Site Request Forgery Vulnerability
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.
- Record
GHSA-wf5p-g6vw-rhxx- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-352
- Updated
- 2026-11-02
Show 12 moreShow less
OSVRHSA-2024:1640
7.5
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
- Record
RHSA-2024:1640- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-45857
6.5
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.
- Record
UBUNTU-CVE-2023-45857- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVCLSA-2026-1774225185 No score
TuxCare security update for axios (2 CVEs)
TuxCare rebuilt axios to address 2 CVEs. Fixed in 0.27.2-tuxcare.1.
- Record
CLSA-2026-1774225185- Updated
- 2026-11-02
OSVCLSA-2026-1774225186 No score
TuxCare security update for axios (5 CVEs)
TuxCare rebuilt axios to address 5 CVEs. Fixed in 0.18.1-tuxcare.1.
- Record
CLSA-2026-1774225186- Updated
- 2026-11-02
OSVCLSA-2026-1776991067 No score
TuxCare security update for axios (6 CVEs)
TuxCare rebuilt axios to address 6 CVEs. Fixed in 0.15.3-tuxcare.1.
- Record
CLSA-2026-1776991067- Updated
- 2026-11-02
OSVCLSA-2026-1782521951 No score
TuxCare security update for axios (17 CVEs)
TuxCare rebuilt axios to address 17 CVEs. Fixed in 0.19.2-tuxcare.1.
- Record
CLSA-2026-1782521951- Updated
- 2026-11-02
OSVCLSA-2026-1782781178 No score
TuxCare security update for axios (16 CVEs)
TuxCare rebuilt axios to address 16 CVEs. Fixed in 0.21.1-tuxcare.1.
- Record
CLSA-2026-1782781178- Updated
- 2026-11-02
OSVCLSA-2026-1782867613 No score
TuxCare security update for axios (15 CVEs)
TuxCare rebuilt axios to address 15 CVEs. Fixed in 0.21.4-tuxcare.1.
- Record
CLSA-2026-1782867613- Updated
- 2026-11-02
OSVCLSA-2026-1783040460 No score
TuxCare security update for axios (15 CVEs)
TuxCare rebuilt axios to address 15 CVEs. Fixed in 0.24.0-tuxcare.1.
- Record
CLSA-2026-1783040460- Updated
- 2026-11-02
OSVCLSA-2026-1783299714 No score
TuxCare security update for axios (15 CVEs)
TuxCare rebuilt axios to address 15 CVEs. Fixed in 0.26.1-tuxcare.1.
- Record
CLSA-2026-1783299714- Updated
- 2026-11-02
OSVCLSA-2026-1784943156 No score
TuxCare security update for axios (1 CVE)
TuxCare rebuilt axios to address 1 CVE. Fixed in 0.26.0-tuxcare.1.
- Record
CLSA-2026-1784943156- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2023-45857- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
axiosnpm |
1.0.0 up to 1.6.0 | 1.6.0 |
axiosnpm |
0.8.1 up to 0.28.0 | 0.28.0 |
axiosTuxCare:npm From an advisory covering 2 CVEs |
0.27.2-tuxcare.0 up to 0.27.2-tuxcare.1, plus listed versions 0.27.2 |
0.27.2-tuxcare.1 |
axiosTuxCare:npm From an advisory covering 5 CVEs |
0.18.1-tuxcare.0 up to 0.18.1-tuxcare.1, plus listed versions 0.18.1 |
0.18.1-tuxcare.1 |
axiosTuxCare:npm From an advisory covering 6 CVEs |
0.15.3-tuxcare.0 up to 0.15.3-tuxcare.1, plus listed versions 0.15.3 |
0.15.3-tuxcare.1 |
axiosTuxCare:npm From an advisory covering 17 CVEs |
0.19.2-tuxcare.0 up to 0.19.2-tuxcare.1, plus listed versions 0.19.2 |
0.19.2-tuxcare.1 |
axiosTuxCare:npm From an advisory covering 16 CVEs |
0.21.1-tuxcare.0 up to 0.21.1-tuxcare.1, plus listed versions 0.21.1 |
0.21.1-tuxcare.1 |
axiosTuxCare:npm From an advisory covering 15 CVEs |
0.21.4-tuxcare.0 up to 0.21.4-tuxcare.1, plus listed versions 0.21.4 |
0.21.4-tuxcare.1 |
axiosTuxCare:npm From an advisory covering 15 CVEs |
0.24.0-tuxcare.0 up to 0.24.0-tuxcare.1, plus listed versions 0.24.0 |
0.24.0-tuxcare.1 |
axiosTuxCare:npm From an advisory covering 15 CVEs |
0.26.1-tuxcare.0 up to 0.26.1-tuxcare.1, plus listed versions 0.26.1 |
0.26.1-tuxcare.1 |
Show 36 moreShow less
| Package | Affected | Fixed |
|---|---|---|
axiosTuxCare:npm |
0.26.0-tuxcare.0 up to 0.26.0-tuxcare.1, plus listed versions 0.26.0 |
0.26.0-tuxcare.1 |
node-axiosDebian:12 |
before 1.2.1+dfsg-1+deb12u1, plus listed versions 1.2.1+dfsg-1 |
1.2.1+dfsg-1+deb12u1 |
node-axiosDebian:13 |
before 1.6.2+dfsg-1 | 1.6.2+dfsg-1 |
node-axiosDebian:14 |
before 1.6.2+dfsg-1 | 1.6.2+dfsg-1 |
receptorRed Hat:ansible_automation_platform_developer:2.4::el8 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el8ap | 0:1.4.5-1.el8ap |
receptorctlRed Hat:ansible_automation_platform_developer:2.4::el8 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el8ap | 0:1.4.5-1.el8ap |
receptorRed Hat:ansible_automation_platform_inside:2.4::el8 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el8ap | 0:1.4.5-1.el8ap |
receptorctlRed Hat:ansible_automation_platform_inside:2.4::el8 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el8ap | 0:1.4.5-1.el8ap |
receptorRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el8ap | 0:1.4.5-1.el8ap |
receptorctlRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el8ap | 0:1.4.5-1.el8ap |
receptorRed Hat:ansible_automation_platform_developer:2.4::el9 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el9ap | 0:1.4.5-1.el9ap |
receptorctlRed Hat:ansible_automation_platform_developer:2.4::el9 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el9ap | 0:1.4.5-1.el9ap |
receptorRed Hat:ansible_automation_platform_inside:2.4::el9 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el9ap | 0:1.4.5-1.el9ap |
receptorctlRed Hat:ansible_automation_platform_inside:2.4::el9 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el9ap | 0:1.4.5-1.el9ap |
receptorRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el9ap | 0:1.4.5-1.el9ap |
receptorctlRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:1.4.5-1.el9ap | 0:1.4.5-1.el9ap |
automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:4.5.5-2.el8ap | 0:4.5.5-2.el8ap |
automation-controller-venv-towerRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:4.5.5-2.el9ap | 0:4.5.5-2.el9ap |
python39-aiohttpRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el8ap | 0:3.9.3-1.el8ap |
python39-aiohttp-debuginfoRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el8ap | 0:3.9.3-1.el8ap |
python3x-aiohttpRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el8ap | 0:3.9.3-1.el8ap |
python3x-aiohttp-debugsourceRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el8ap | 0:3.9.3-1.el8ap |
python-aiohttpRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el9ap | 0:3.9.3-1.el9ap |
python-aiohttp-debugsourceRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el9ap | 0:3.9.3-1.el9ap |
python3-aiohttpRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el9ap | 0:3.9.3-1.el9ap |
python3-aiohttp-debuginfoRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:3.9.3-1.el9ap | 0:3.9.3-1.el9ap |
python39-djangoRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:4.2.11-1.el8ap | 0:4.2.11-1.el8ap |
python3x-djangoRed Hat:ansible_automation_platform:2.4::el8 From an advisory covering 12 CVEs |
before 0:4.2.11-1.el8ap | 0:4.2.11-1.el8ap |
python-djangoRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:4.2.11-1.el9ap | 0:4.2.11-1.el9ap |
python3-djangoRed Hat:ansible_automation_platform:2.4::el9 From an advisory covering 12 CVEs |
before 0:4.2.11-1.el9ap | 0:4.2.11-1.el9ap |
node-axiosUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 0.19.0+dfsg-20.19.0+dfsg-2ubuntu0.1~esm1 |
None known |
node-axiosUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 0.21.1+dfsg-10.23.0+dfsg-20.24.0+dfsg-10.25.0+dfsg-20.26.0+dfsg-10.26.0+dfsg-1ubuntu0.1~esm1 |
None known |
node-axiosUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 1.2.1+dfsg-11.5.1+dfsg-11.6.2+dfsg-11.6.8+dfsg-21.6.8+dfsg-2ubuntu0.1~esm1 |
None known |
node-axiosUbuntu:25.10 |
All versions, plus listed versions 1.7.9+dfsg-11.8.4+dfsg-11.11.0+dfsg-1 |
None known |
node-axiosUbuntu:26.10 |
All versions, plus listed versions 1.13.2+dfsg-1build11.16.0-11.18.0-11.19.0-1 |
None known |
node-axiosUbuntu:Pro:26.04:LTS |
All versions, plus listed versions 1.11.0+dfsg-11.12.1+dfsg-11.13.2+dfsg-1build11.13.2+dfsg-1ubuntu0.1~esm1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | valentin-panov/CVE-2023-45857 | 2023-10-18 |
| PoC in GitHub | intercept6/CVE-2023-45857-Demo | 2023-10-26 |
| PoC in GitHub | fuyuooumi1027/CVE-2023-45857-Demo | 2023-11-24 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases | ||
| affected, aliases | ||
| affected | ||
| affected, exploits, facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-45857 is a medium vulnerability (CVSS 6.5) in Axios, published November 8, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.73%, the 54th percentile. Fixed in axios 1.6.0.
References
github.com/axios/axios/issues/6006
security.netapp.com/advisory/ntap-20240621-0006
nvd.nist.gov/vuln/detail/CVE-2023-45857
github.com/axios/axios/issues/6022
github.com/axios/axios/pull/6028
github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0
Show 78 moreShow less
github.com/axios/axios/releases/tag/v1.6.0
security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
github.com/axios/axios/pull/6091
github.com/axios/axios/commit/2755df562b9c194fba6d8b609a383443f6a6e967
github.com/axios/axios/releases/tag/v0.28.0
github.com/advisories/GHSA-wf5p-g6vw-rhxx
github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45857.json
security-tracker.debian.org/tracker/CVE-2023-45857
github.com/axios/axios
access.redhat.com/errata/RHSA-2024:1640
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2246264
bugzilla.redhat.com/show_bug.cgi?id=2247040
bugzilla.redhat.com/show_bug.cgi?id=2248979
bugzilla.redhat.com/show_bug.cgi?id=2249825
bugzilla.redhat.com/show_bug.cgi?id=2253330
bugzilla.redhat.com/show_bug.cgi?id=2255331
bugzilla.redhat.com/show_bug.cgi?id=2257854
bugzilla.redhat.com/show_bug.cgi?id=2261856
bugzilla.redhat.com/show_bug.cgi?id=2261887
bugzilla.redhat.com/show_bug.cgi?id=2261909
bugzilla.redhat.com/show_bug.cgi?id=2262921
bugzilla.redhat.com/show_bug.cgi?id=2266045
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_1640.json
access.redhat.com/security/cve/CVE-2023-39326
cve.org/CVERecord?id=CVE-2023-39326
nvd.nist.gov/vuln/detail/CVE-2023-39326
pkg.go.dev/vuln/GO-2023-2382
access.redhat.com/security/cve/CVE-2023-41040
cve.org/CVERecord?id=CVE-2023-41040
nvd.nist.gov/vuln/detail/CVE-2023-41040
github.com/gitpython-developers/GitPython/security/advisories/GHSA-cwvm-v4w8-q58c
access.redhat.com/security/cve/CVE-2023-45857
cve.org/CVERecord?id=CVE-2023-45857
access.redhat.com/security/cve/CVE-2023-46137
cve.org/CVERecord?id=CVE-2023-46137
nvd.nist.gov/vuln/detail/CVE-2023-46137
access.redhat.com/security/cve/CVE-2023-47627
cve.org/CVERecord?id=CVE-2023-47627
nvd.nist.gov/vuln/detail/CVE-2023-47627
github.com/aio-libs/aiohttp/security/advisories/GHSA-gfw2-4jvh-wgfg
access.redhat.com/security/cve/CVE-2023-49083
cve.org/CVERecord?id=CVE-2023-49083
nvd.nist.gov/vuln/detail/CVE-2023-49083
github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a
github.com/pyca/cryptography/pull/9926
github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97
access.redhat.com/security/cve/CVE-2024-1394
cve.org/CVERecord?id=CVE-2024-1394
nvd.nist.gov/vuln/detail/CVE-2024-1394
github.com/golang-fips/openssl/commit/85d31d0d257ce842c8a1e63c4d230ae850348136
github.com/golang-fips/openssl/security/advisories/GHSA-78hx-gp6g-7mj6
github.com/microsoft/go-crypto-openssl/commit/104fe7f6912788d2ad44602f77a0a0a62f1f259f
pkg.go.dev/vuln/GO-2024-2660
vuln.go.dev/ID/GO-2024-2660.json
access.redhat.com/security/cve/CVE-2024-22195
cve.org/CVERecord?id=CVE-2024-22195
nvd.nist.gov/vuln/detail/CVE-2024-22195
github.com/pallets/jinja/releases/tag/3.1.3
github.com/pallets/jinja/security/advisories/GHSA-h5c8-rqwp-cp95
access.redhat.com/security/cve/CVE-2024-23334
cve.org/CVERecord?id=CVE-2024-23334
nvd.nist.gov/vuln/detail/CVE-2024-23334
github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
access.redhat.com/security/cve/CVE-2024-23829
cve.org/CVERecord?id=CVE-2024-23829
nvd.nist.gov/vuln/detail/CVE-2024-23829
github.com/aio-libs/aiohttp/security/advisories/GHSA-8qpw-xqxj-h4r2
access.redhat.com/security/cve/CVE-2024-24680
cve.org/CVERecord?id=CVE-2024-24680
nvd.nist.gov/vuln/detail/CVE-2024-24680
github.com/advisories/GHSA-xxj9-f6rv-m3x4
djangoproject.com/weblog/2024/feb/06/security-releases
access.redhat.com/security/cve/CVE-2024-27351
cve.org/CVERecord?id=CVE-2024-27351
nvd.nist.gov/vuln/detail/CVE-2024-27351
djangoproject.com/weblog/2024/mar/04/security-releases
ubuntu.com/security/CVE-2023-45857