Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2021-23450

CVE-2021-23450: Dojo Prototype Pollution Vulnerability

CVE-2021-23450 is a prototype pollution vulnerability in Linuxfoundation Dojo affecting all versions via the setObject function. This post covers technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-23450 Overview

CVE-2021-23450 is a critical Prototype Pollution vulnerability affecting all versions of the Dojo JavaScript toolkit. The vulnerability exists in the setObject function within the _base/lang.js module, allowing attackers to inject properties into JavaScript Object prototypes. This can lead to remote code execution, denial of service, or security mechanism bypass across applications utilizing the affected Dojo package.

Prototype Pollution is a JavaScript-specific vulnerability that allows attackers to modify the prototype of base objects, which can have cascading effects throughout an application. Since JavaScript uses prototype-based inheritance, injected properties can propagate to all objects that inherit from the polluted prototype.

Critical Impact

This vulnerability enables attackers to remotely execute arbitrary code, manipulate application logic, or cause denial of service by polluting JavaScript Object prototypes through the setObject function without requiring authentication or user interaction.

Affected Products

  • Linux Foundation Dojo (all versions for Node.js)
  • Oracle Communications Policy Management 12.6.0.0.0
  • Oracle Primavera Unifier (versions 18.8, 19.12, 20.12, 21.12, and prior)
  • Oracle WebLogic Server 12.2.1.4.0 and 14.1.1.0.0
  • Debian Linux 10.0

Discovery Timeline

  • December 17, 2021 - CVE-2021-23450 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-23450

Vulnerability Analysis

The vulnerability resides in Dojo's setObject function located in _base/lang.js. This function is designed to set a property at a dot-separated namespace path. However, it fails to properly sanitize input paths, allowing an attacker to specify special properties like __proto__, constructor, or prototype that can modify the base Object prototype.

When exploited, this Prototype Pollution attack allows malicious properties to be injected into Object.prototype. Since nearly all JavaScript objects inherit from Object.prototype, these injected properties become accessible across the entire application context. This can lead to various attack scenarios including property injection that bypasses security checks, denial of service through application crashes, or even remote code execution when combined with gadget chains in the application.

The vulnerability is particularly dangerous because it requires no authentication or user interaction to exploit, and can be triggered remotely over the network. Applications that process user-controlled input through Dojo's setObject function are at immediate risk.

Root Cause

The root cause of CVE-2021-23450 is the lack of input validation in the setObject function when processing object path strings. The function does not check whether the provided path contains dangerous prototype-related properties (__proto__, constructor.prototype, etc.) before setting values. This oversight allows attackers to traverse the prototype chain and inject arbitrary properties into base object prototypes, fundamentally altering the behavior of all inheriting objects.

Attack Vector

The attack is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by sending a crafted request to an application that passes user-controlled data to Dojo's setObject function. The malicious input would contain a path targeting prototype properties.

For example, an attacker could provide a path like __proto__.polluted with an arbitrary value, which would then be set on Object.prototype. This polluted property would subsequently appear on all objects created in the application, potentially bypassing security controls, causing unexpected behavior, or enabling further exploitation through application-specific gadgets.

The vulnerability mechanism involves the setObject function parsing the dot-separated path and creating nested objects as needed. Without proper validation, when the path includes __proto__, the function directly accesses and modifies the prototype chain. For detailed technical analysis, see the Snyk vulnerability advisory and the vulnerable code reference on GitHub.

Detection Methods for CVE-2021-23450

Indicators of Compromise

  • Unexpected properties appearing on Object.prototype or other base prototypes during runtime inspection
  • Application errors or crashes related to unexpected object property values
  • Web application logs showing requests with __proto__, constructor, or prototype in parameter values or JSON payloads
  • Anomalous behavior in JavaScript applications where objects contain properties that were never explicitly set

Detection Strategies

  • Implement application-level logging to capture and alert on input containing prototype pollution patterns such as __proto__, constructor.prototype, or similar path traversals
  • Use Static Application Security Testing (SAST) tools to identify usage of the vulnerable setObject function in your codebase
  • Deploy Web Application Firewalls (WAF) with rules to detect and block requests containing prototype pollution payloads
  • Utilize Software Composition Analysis (SCA) tools to identify the presence of vulnerable Dojo versions in your dependency tree

Monitoring Recommendations

  • Monitor application logs for JSON parsing errors or unexpected type errors that may indicate prototype pollution attempts
  • Set up alerts for security events in Oracle WebLogic Server, Primavera Unifier, and Communications Policy Management related to JavaScript processing anomalies
  • Implement runtime application self-protection (RASP) solutions to detect and block prototype pollution attacks in real-time
  • Regularly audit your Node.js and Java application dependencies using npm audit, yarn audit, or Maven/Gradle dependency checking tools

How to Mitigate CVE-2021-23450

Immediate Actions Required

  • Conduct an inventory of all applications and systems using Dojo JavaScript toolkit and assess their exposure to untrusted input
  • Review application code for usage of the setObject function, particularly where it processes user-controlled data
  • Implement input validation to reject or sanitize any input containing __proto__, constructor, or prototype strings before passing to Dojo functions
  • Apply vendor patches for affected Oracle products as detailed in the Oracle April 2022 CPU and Oracle July 2022 CPU

Patch Information

Oracle has released security patches addressing this vulnerability in their April 2022 and July 2022 Critical Patch Updates. Organizations using affected Oracle products (Communications Policy Management, Primavera Unifier, WebLogic Server) should apply the appropriate patches from Oracle's April 2022 Security Advisory and Oracle's July 2022 Security Advisory.

For Debian Linux users, security updates have been released as documented in the Debian LTS Announcement.

For applications directly using Dojo via npm or other package managers, check for updated versions that address this vulnerability. Consult the Snyk advisory for SNYK-JS-DOJO-1535223 for the latest remediation guidance.

Workarounds

  • Implement a wrapper function around setObject that validates input paths and rejects any containing prototype-related keywords (__proto__, constructor, prototype)
  • Use Object.freeze(Object.prototype) in your application initialization to prevent modifications to the base Object prototype, though this may break some functionality
  • Deploy Web Application Firewall (WAF) rules to filter requests containing prototype pollution payloads targeting your applications
  • Consider replacing usage of setObject with safer alternatives that explicitly prevent prototype traversal, such as lodash's set function with prototype pollution protections enabled
bash
# Configuration example - Input validation for prototype pollution prevention
# Add to your application's input processing layer

# Example WAF rule pattern (ModSecurity format)
SecRule ARGS|ARGS_NAMES|REQUEST_BODY "@rx (__proto__|constructor\s*\[|prototype\s*\[)" \
    "id:100001,phase:2,deny,status:403,msg:'Prototype Pollution Attempt Blocked'"

# npm audit to check for vulnerable dependencies
npm audit --audit-level=critical

# For Java/Maven projects using Dojo webjars
mvn dependency:tree | grep -i dojo

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinuxfoundation Dojo

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability2.41%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Code Reference

  • Debian LTS Announcement
  • Vendor Resources
  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARS-2313036

  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARSBOWER-2313035

  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARSBOWERGITHUBDOJO-2313034

  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARSNPM-2313033

  • Snyk Vulnerability SNYK-JS-DOJO-1535223

  • Oracle Security Alert April 2022

  • Oracle Security Alert July 2022
  • Related CVEs
  • CVE-2020-5258: Dojo NPM Prototype Pollution Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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