The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42033

CVE-2026-42033: Axios HTTP Client XSS Vulnerability

CVE-2026-42033 is an XSS vulnerability in Axios HTTP client that allows attackers to intercept JSON responses or hijack HTTP transport when prototype pollution exists. This article covers technical details, affected versions, and patches.

Published: April 30, 2026

CVE-2026-42033 Overview

A high-severity prototype pollution vulnerability has been identified in Axios, a widely-used promise-based HTTP client for browsers and Node.js. Prior to versions 1.15.1 and 0.31.1, when Object.prototype has been polluted by any co-dependency with keys that Axios reads without a hasOwnProperty guard, an attacker can silently intercept and modify every JSON response before the application processes it, or fully hijack the underlying HTTP transport. This hijacking grants access to request credentials, headers, and body content.

Critical Impact

Attackers exploiting this vulnerability can intercept all HTTP communications, steal credentials, modify API responses, and compromise application data integrity when prototype pollution exists in the same process.

Affected Products

  • Axios versions prior to 1.15.1
  • Axios versions prior to 0.31.1
  • Node.js applications using vulnerable Axios versions

Discovery Timeline

  • 2026-04-24 - CVE-2026-42033 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-42033

Vulnerability Analysis

This vulnerability is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes), commonly known as Prototype Pollution. The flaw exists in how Axios reads properties from objects without proper hasOwnProperty guards. When a co-dependency or other code in the same Node.js process pollutes Object.prototype with specific keys that Axios checks during request/response processing, the attacker-controlled values are inadvertently used by Axios.

The precondition for exploitation requires prototype pollution from a separate source within the same process. While this creates a dependency on another vulnerability existing in the application, prototype pollution vulnerabilities are common in JavaScript ecosystems, making this a realistic attack scenario. Once the precondition is met, the impact is severe—allowing complete interception and modification of HTTP communications.

Root Cause

The root cause stems from Axios accessing object properties without verifying whether those properties belong to the object instance itself or were inherited from the prototype chain. JavaScript's prototype inheritance model means that any property set on Object.prototype becomes accessible on all objects. When Axios reads configuration or response data without hasOwnProperty checks, polluted prototype properties are interpreted as legitimate values.

This design flaw allows attackers who have achieved prototype pollution through another vector to inject malicious transformers, adapters, or configuration values that Axios will use during HTTP operations.

Attack Vector

The attack requires network access and exploits the lack of prototype property guards in Axios. An attacker must first achieve prototype pollution in the target application's JavaScript runtime, typically through a vulnerable dependency that processes untrusted input (such as deep merge utilities, query string parsers, or JSON parsers). Once prototype pollution is established, the attacker can:

  1. Intercept JSON Responses: Inject a malicious transformResponse function via prototype pollution to capture and modify all JSON responses before the application processes them
  2. Hijack HTTP Transport: Override the HTTP adapter to route requests through attacker-controlled infrastructure, exposing credentials, authentication tokens, and request bodies

The attack is particularly dangerous because it operates silently—applications continue to function normally while all HTTP communications are compromised. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2026-42033

Indicators of Compromise

  • Unexpected modifications to API response data that differ from server-sent values
  • Network traffic being routed to unexpected destinations or through unknown proxies
  • Authentication tokens or credentials appearing in unexpected log files or network captures
  • Anomalous behavior in HTTP client configurations not matching application code

Detection Strategies

  • Implement Software Composition Analysis (SCA) to identify Axios versions prior to 1.15.1 or 0.31.1 in your dependency tree
  • Monitor for prototype pollution attempts by auditing dependencies that perform deep object merging or property assignment
  • Review application logs for unexpected HTTP adapter changes or transformer modifications
  • Use runtime integrity monitoring to detect modifications to Object.prototype

Monitoring Recommendations

  • Enable detailed HTTP client logging to capture request/response metadata for forensic analysis
  • Implement Content Security Policy (CSP) and Subresource Integrity (SRI) for browser-based applications
  • Monitor network egress for connections to unexpected endpoints that may indicate transport hijacking
  • Deploy application performance monitoring (APM) to detect anomalous HTTP client behavior

How to Mitigate CVE-2026-42033

Immediate Actions Required

  • Update Axios to version 1.15.1 or later for the 1.x branch immediately
  • Update Axios to version 0.31.1 or later for the 0.x branch if using legacy versions
  • Audit all application dependencies for known prototype pollution vulnerabilities
  • Review and harden any code that processes untrusted input into object properties

Patch Information

The Axios maintainers have addressed this vulnerability by adding proper hasOwnProperty guards when reading object properties. The fix is available in versions 1.15.1 and 0.31.1. Organizations should prioritize upgrading to these patched versions. For complete patch details, refer to the GitHub Security Advisory.

Workarounds

  • Freeze Object.prototype using Object.freeze(Object.prototype) at application startup to prevent prototype pollution (note: this may break some third-party libraries)
  • Implement runtime monitoring for prototype pollution attempts before they can affect Axios
  • Use object null-prototype patterns (Object.create(null)) for configuration objects passed to Axios
  • Isolate Axios instances in separate V8 contexts or worker threads for critical applications
bash
# Update Axios to patched version
npm update axios@1.15.1

# Or for yarn users
yarn upgrade axios@1.15.1

# Verify installed version
npm list axios

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAxios

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-1321
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42264: Axios Prototype Pollution Vulnerability

  • CVE-2026-42040: Axios Null Byte Encoding Vulnerability

  • CVE-2026-42041: Axios Auth Bypass Vulnerability

  • CVE-2026-42042: Axios HTTP Client CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English