cve.bz

CVE-2023-45857 axios axios: Cross Site Reference Forgery

6.5 mediumExploit referenceEPSS 0.7%Fix available

Medium (6.5) in axios axios. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in axios 0.28.0, 1.6.0.

On this page
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.

Severity

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
EPSS
0.7% (unchanged from 0.7% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-352 Cross-Site Request Forgery (Cross Site Reference Forgery)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-45857 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-45857?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-45857?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-45857 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
axios:axios1.5.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wf5p-g6vw-rhxxnpmaxios>=1.0.0 <1.6.01.6.0
GHSA-wf5p-g6vw-rhxxnpmaxios>=0.8.1 <0.28.00.28.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12node-axios1.2.1+dfsg-1+deb12u1DEBIAN-CVE-2023-45857
Debian13, 14node-axios1.6.2+dfsg-1DEBIAN-CVE-2023-45857
Ubuntu25.10, 26.10, Pro:20.04:LTS and 3 morenode-axiosno fix listedUBUNTU-CVE-2023-45857
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.5-2.el8apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el8python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more0:3.9.3-1.el8apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:4.2.11-1.el8apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8receptor, receptorctl0:1.4.5-1.el8apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.5.5-2.el9apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el9python-aiohttp, python3-aiohttp, python3-aiohttp-debuginfo and 1 more0:3.9.3-1.el9apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:4.2.11-1.el9apRHSA-2024:1640
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9receptor, receptorctl0:1.4.5-1.el9apRHSA-2024:1640

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

For Red Hat Advanced Cluster Management for Kubernetes (RHACM), the affected container was deprecated in ACM 2.5 version which is not anymore supported. Following versions of this product are not impacted by this issue.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8axiosFixed 2024-06-13RHSA-2024:3920
MTA-6.2-RHEL-9mta/mta-windup-addon-rhel9:6.2.3-2Fixed 2024-06-20RHSA-2024:3989
MTA-7.0-RHEL-9mta/mta-cli-rhel9:7.0.3-16Fixed 2024-05-23RHSA-2024:3316
MTA-7.0-RHEL-9mta/mta-ui-rhel9:7.0.3-13Fixed 2024-05-23RHSA-2024:3316
Red Hat Advanced Cluster Security 4.7advanced-cluster-security/rhacs-central-db-rhel8:4.7.0-4Fixed 2025-03-17RHSA-2025:2876
Red Hat Advanced Cluster Security 4.7advanced-cluster-security/rhacs-collector-rhel8:4.7.0-3Fixed 2025-03-17RHSA-2025:2876
Red Hat Advanced Cluster Security 4.7advanced-cluster-security/rhacs-main-rhel8:4.7.0-4Fixed 2025-03-17RHSA-2025:2876
Red Hat Advanced Cluster Security 4.7advanced-cluster-security/rhacs-operator-bundle:4.7.0-3Fixed 2025-03-17RHSA-2025:2876
Red Hat Advanced Cluster Security 4.7advanced-cluster-security/rhacs-rhel8-operator:4.7.0-4Fixed 2025-03-17RHSA-2025:2876
Red Hat Advanced Cluster Security 4.7advanced-cluster-security/rhacs-roxctl-rhel8:4.7.0-4Fixed 2025-03-17RHSA-2025:2876
Cryostat 2axiosFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
Migration Toolkit for Applications 6mta/mta-ui-rhel9Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/multicluster-engine-console-mce-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Not affected
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Affected
OpenShift ServerlessaxiosWill not fix
OpenShift Service Mesh 2openshift-service-mesh/kiali-rhel8Not affected
40 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-45857.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-277-02Subnet Solutions Inc. PowerSYSTEM Center2024-10-01Critical Manufacturing, EnergySubnet Solutions Inc. PowerSYSTEM Center: <=PSC_2020_v5.21.xnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) Likelihood: High · Severity: High
  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON