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-2020-5258

CVE-2020-5258: Dojo NPM Prototype Pollution Vulnerability

CVE-2020-5258 is a prototype pollution vulnerability in the Dojo NPM package that allows attackers to inject malicious properties into JavaScript objects. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-5258 Overview

CVE-2020-5258 is a Prototype Pollution vulnerability affecting the Dojo JavaScript toolkit distributed via NPM. The vulnerability exists in the deepCopy method, which fails to properly sanitize property names during object copying operations. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. An attacker can manipulate these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values, potentially leading to unauthorized data manipulation or application compromise.

Critical Impact

Attackers can exploit the deepCopy method to inject malicious properties into JavaScript object prototypes, potentially enabling property injection attacks that affect all objects inheriting from the polluted prototype, leading to data integrity compromise across the application.

Affected Products

  • Linux Foundation Dojo (versions prior to 1.12.8, 1.13.7, 1.14.6, 1.15.3, and 1.16.2)
  • Debian Linux 8.0
  • Oracle Communications Application Session Controller 3.9.0
  • Oracle Communications Policy Management 12.5.0
  • Oracle Communications Pricing Design Center 12.0.0.3.0
  • Oracle Documaker
  • Oracle MySQL (multiple versions)
  • Oracle Primavera Unifier (multiple versions including 18.8, 19.12, 20.12)
  • Oracle WebCenter Sites 12.2.1.3.0 and 12.2.1.4.0
  • Oracle WebLogic Server 12.2.1.4.0 and 14.1.1.0.0

Discovery Timeline

  • March 10, 2020 - CVE-2020-5258 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-5258

Vulnerability Analysis

The vulnerability resides in the deepCopy method within the Dojo toolkit's request utility module (request/util.js). When performing deep copy operations on JavaScript objects, the method iterates through all properties of a source object and copies them to a target object. The flaw occurs because the method does not exclude the special __proto__ property from being copied.

In JavaScript, the __proto__ property provides access to an object's prototype chain. When an attacker supplies a maliciously crafted object containing a __proto__ property to the deepCopy function, the method copies this property along with all others. This allows the attacker to inject arbitrary properties into the prototype of all JavaScript objects in the application, affecting any code that relies on default object behavior or checks for the presence of certain properties.

This vulnerability is classified under CWE-94 (Improper Control of Generation of Code) and CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes). The network-accessible attack vector with no user interaction requirements makes this vulnerability particularly concerning for web applications using vulnerable Dojo versions.

Root Cause

The root cause is insufficient input validation in the deepCopy method. The function's property iteration loop processes all enumerable properties of the source object without checking whether the property name is the dangerous __proto__ identifier. This allows prototype chain manipulation when untrusted data is passed through the deep copy operation.

Attack Vector

An attacker can exploit this vulnerability by providing a crafted JSON object containing a __proto__ property to any application functionality that uses the vulnerable deepCopy method. Common attack scenarios include:

  1. Submitting malicious JSON payloads through API endpoints that process user-controlled data
  2. Exploiting web forms or request parameters that are deep-copied before processing
  3. Manipulating configuration objects parsed from external sources

The attack can be delivered remotely over the network without requiring authentication or user interaction, making it suitable for automated exploitation.

javascript
// Security patch in request/util.js - adds __proto__ check to prevent prototype pollution
 		for (var name in source) {
 			var tval = target[name],
  			    sval = source[name];
-			if (tval !== sval) {
+			if (name !== '__proto__' && tval !== sval) {
 				if (shouldDeepCopy(sval)) {
 					if (Object.prototype.toString.call(sval) === '[object Date]') { // use this date test to handle crossing frame boundaries
 						target[name] = new Date(sval);

Source: GitHub Commit

Detection Methods for CVE-2020-5258

Indicators of Compromise

  • Unexpected properties appearing on Object.prototype or other built-in prototypes during application runtime
  • Anomalous JSON payloads containing __proto__, constructor, or prototype keys in application logs
  • Application behavior changes indicating global object pollution (e.g., unexpected property values, authentication bypasses)
  • Unusual error messages or exceptions related to prototype chain modifications

Detection Strategies

  • Implement application-layer logging to capture and analyze incoming JSON payloads for prototype pollution indicators
  • Deploy software composition analysis (SCA) tools to identify vulnerable Dojo versions in your dependency tree
  • Use runtime application self-protection (RASP) solutions to detect prototype modification attempts
  • Monitor for NPM audit warnings indicating the presence of vulnerable Dojo packages

Monitoring Recommendations

  • Enable verbose logging for API endpoints that process JSON data and review for suspicious __proto__ patterns
  • Configure intrusion detection systems to alert on HTTP requests containing prototype pollution payload signatures
  • Implement integrity monitoring for critical JavaScript runtime objects in production environments
  • Regularly audit application dependencies using npm audit or equivalent tools to identify vulnerable packages

How to Mitigate CVE-2020-5258

Immediate Actions Required

  • Update Dojo to patched versions: 1.12.8, 1.13.7, 1.14.6, 1.15.3, or 1.16.2 or later immediately
  • Audit all applications using Dojo to identify instances of the deepCopy method processing untrusted input
  • Implement input validation to reject objects containing __proto__, constructor, or prototype properties
  • Review Oracle product deployments and apply relevant Critical Patch Updates (CPUs)

Patch Information

The vulnerability has been patched in Dojo versions 1.12.8, 1.13.7, 1.14.6, 1.15.3, and 1.16.2. The fix adds an explicit check to exclude the __proto__ property from being copied during deep copy operations. The security patch is available in the GitHub Commit. For detailed information, refer to the GitHub Security Advisory.

Oracle customers should consult the relevant Critical Patch Update advisories including Oracle CPU July 2020, Oracle CPU July 2021, Oracle CPU October 2021, and Oracle CPU January 2022.

Workarounds

  • Implement a custom wrapper function that sanitizes objects by removing dangerous properties before passing them to deepCopy
  • Use Object.freeze(Object.prototype) to prevent prototype modifications in critical application paths (note: this may break some legitimate functionality)
  • Deploy a Web Application Firewall (WAF) rule to block requests containing __proto__ in JSON payloads
  • Consider using alternative deep copy implementations that include built-in prototype pollution protection
bash
# Update Dojo to a patched version
npm update dojo@1.16.2

# Audit your project for vulnerable packages
npm audit

# Check current Dojo version in your project
npm list 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

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.54%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-94

  • CWE-1321
  • Technical References
  • GitHub Security Advisory

  • Apache Qpid User Discussion

  • Apache Qpid User Discussion

  • Apache Qpid User Discussion

  • Debian LTS Announcement

  • Oracle CPU July 2020 Alert

  • Oracle CPU July 2022 Alert
  • Vendor Resources
  • GitHub Commit Log

  • Oracle CPU July 2021 Alert

  • Oracle CPU January 2022 Alert

  • Oracle CPU October 2021 Alert
  • Related CVEs
  • CVE-2021-23450: Dojo 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