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

CVE-2020-28503: Gulpjs Copy-props Prototype Pollution

CVE-2020-28503 is a Prototype Pollution vulnerability in Gulpjs Copy-props affecting versions before 2.0.5. Attackers can manipulate object properties through the main functionality. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 4, 2026

CVE-2020-28503 Overview

CVE-2020-28503 is a Prototype Pollution vulnerability affecting the copy-props package before version 2.0.5. This npm package, maintained by gulpjs, is vulnerable to Prototype Pollution through its main functionality, which copies properties between objects. Attackers can exploit this vulnerability to inject properties into JavaScript object prototypes, potentially leading to remote code execution, denial of service, or other security impacts.

Critical Impact

This Prototype Pollution vulnerability can allow attackers to modify the behavior of the application by injecting malicious properties into Object.prototype, potentially compromising application integrity and enabling arbitrary code execution.

Affected Products

  • gulpjs copy-props (versions before 2.0.5)
  • Node.js applications using the vulnerable copy-props package
  • Java applications using copy-props via WebJars

Discovery Timeline

  • 2021-03-23 - CVE CVE-2020-28503 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-28503

Vulnerability Analysis

This vulnerability exists in the main functionality of the copy-props package, which is designed to copy properties from one object to another. The root cause lies in insufficient validation of property keys during the copy operation, allowing an attacker to inject properties like __proto__, constructor, or prototype into the destination object.

When the copy-props function processes user-controlled input without properly sanitizing property names, it fails to block special JavaScript prototype properties. This allows an attacker to pollute the prototype chain, which affects all objects that inherit from the modified prototype.

The network-accessible attack vector means this vulnerability can be exploited remotely without requiring authentication or user interaction. Applications that pass untrusted user input to the copy-props function are at risk.

Root Cause

The vulnerability stems from the lack of property key validation in the copy-props main functionality. The package does not check whether property keys being copied are special JavaScript prototype properties (__proto__, constructor.prototype, etc.) before performing the copy operation. This oversight allows malicious property assignments to propagate to Object.prototype.

Attack Vector

The attack is network-based and requires no privileges or user interaction. An attacker can craft a malicious object containing prototype pollution payloads and pass it to an application function that uses copy-props. The vulnerability can be exploited by:

  1. Identifying an application endpoint that accepts object input processed by copy-props
  2. Crafting a payload with __proto__ properties containing malicious values
  3. Submitting the payload to pollute the application's prototype chain
  4. Leveraging the polluted prototype to achieve code execution, bypass security controls, or cause denial of service

The attack exploits the copy-props function by passing objects with specially crafted properties like {"__proto__": {"polluted": true}}. When this object is processed, the polluted property becomes accessible on all JavaScript objects in the application, which can be leveraged for further exploitation depending on how the application handles object properties.

Detection Methods for CVE-2020-28503

Indicators of Compromise

  • Unexpected properties appearing on JavaScript objects that were not explicitly assigned
  • Application behavior changes indicating prototype chain modifications
  • Error logs showing unexpected property access or type coercion issues
  • Anomalous HTTP requests containing __proto__, constructor, or prototype in JSON payloads

Detection Strategies

  • Implement dependency scanning tools (npm audit, Snyk) to identify vulnerable copy-props versions in your codebase
  • Monitor application logs for JSON payloads containing prototype pollution indicators (__proto__, constructor.prototype)
  • Deploy Web Application Firewalls (WAF) with rules to detect and block prototype pollution payloads
  • Use runtime application self-protection (RASP) solutions to detect prototype modifications at runtime

Monitoring Recommendations

  • Configure SIEM rules to alert on HTTP requests containing prototype pollution patterns in request bodies
  • Implement application-level logging to track object property assignments in sensitive code paths
  • Enable Node.js process monitoring to detect unexpected prototype chain modifications
  • Review dependency trees regularly for outdated packages with known vulnerabilities

How to Mitigate CVE-2020-28503

Immediate Actions Required

  • Upgrade copy-props to version 2.0.5 or later immediately
  • Audit applications for any usage of the vulnerable copy-props package
  • Implement input validation to filter out __proto__ and constructor properties before passing data to object copying functions
  • Consider using Object.create(null) for objects that store untrusted user input

Patch Information

The vulnerability has been addressed in copy-props version 2.0.5. The fix is available via the official GitHub pull request. Users should update their package.json to require copy-props version >=2.0.5 and run npm update or yarn upgrade to apply the fix.

For detailed vulnerability tracking information, refer to the Snyk JavaScript vulnerability report or the Snyk Java WebJars vulnerability report.

Workarounds

  • Implement a wrapper function that filters out dangerous properties (__proto__, constructor, prototype) before calling copy-props
  • Use Object.freeze(Object.prototype) to prevent prototype modifications (may break some legitimate functionality)
  • Validate all user input on the server side before processing with object manipulation functions
  • Consider alternative packages with built-in prototype pollution protection until you can upgrade
bash
# Upgrade copy-props to patched version
npm install copy-props@^2.0.5

# Or update package.json and run
npm update copy-props

# Verify installed version
npm list copy-props

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechGulpjs

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.58%

  • 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
  • NVD-CWE-Other
  • Technical References
  • Snyk Java Vulnerability

  • Snyk JavaScript Vulnerability
  • Vendor Resources
  • GitHub Pull Request
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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