A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-45435

CVE-2024-45435: Chartist Prototype Pollution Vulnerability

CVE-2024-45435 is a Prototype Pollution vulnerability in Chartist versions 1.x through 1.3.0, exploitable via the extend function. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 31, 2026

CVE-2024-45435 Overview

CVE-2024-45435 is a Prototype Pollution vulnerability affecting Chartist, a popular JavaScript charting library for Node.js. The vulnerability exists in the extend function within Chartist versions 1.x through 1.3.0, allowing attackers to manipulate JavaScript object prototypes through malicious input.

Critical Impact

This Prototype Pollution vulnerability could allow attackers to inject arbitrary properties into JavaScript object prototypes, potentially leading to remote code execution, denial of service, or property injection attacks in applications using the vulnerable Chartist library.

Affected Products

  • Chartist versions 1.x through 1.3.0
  • Node.js applications using vulnerable Chartist versions
  • Web applications with client-side Chartist implementations

Discovery Timeline

  • 2024-08-29 - CVE-2024-45435 published to NVD
  • 2024-09-03 - Last updated in NVD database

Technical Details for CVE-2024-45435

Vulnerability Analysis

This vulnerability is classified as Prototype Pollution (CWE-1321), a class of vulnerabilities specific to JavaScript that allows attackers to modify the prototype of base objects. In Chartist, the vulnerable extend function fails to properly sanitize object keys when merging configuration objects, enabling attackers to inject properties into Object.prototype through specially crafted input.

When exploited, an attacker can pollute the prototype chain by passing malicious payloads containing __proto__, constructor, or prototype properties. This pollution persists across all objects in the application, potentially affecting authentication mechanisms, access controls, or triggering code execution paths that rely on object property checks.

Root Cause

The root cause lies in the extend function's failure to validate and sanitize incoming object keys before property assignment. The function recursively merges objects without checking for prototype-related properties (__proto__, constructor.prototype), allowing malicious input to traverse up the prototype chain and modify base object properties that are inherited by all JavaScript objects.

Attack Vector

The vulnerability is exploitable over the network without authentication or user interaction. An attacker can deliver a malicious payload through any input vector that reaches the Chartist extend function, such as chart configuration options, data objects, or any user-controllable input that gets processed by the vulnerable function.

The attack typically involves sending a JSON payload containing __proto__ as a key with malicious property values. When parsed and processed by the extend function, these properties are copied to Object.prototype, affecting all objects in the application context.

For detailed technical analysis and proof of concept, refer to the GitHub Issue Discussion and the GitHub Gist Code Snippet documenting this vulnerability.

Detection Methods for CVE-2024-45435

Indicators of Compromise

  • Unusual JavaScript errors or unexpected object property behavior in application logs
  • Detection of __proto__ or constructor strings in HTTP request payloads targeting Chartist endpoints
  • Unexpected properties appearing on JavaScript objects across the application
  • Application crashes or undefined behavior in object property checks

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block payloads containing __proto__, constructor.prototype, or similar prototype pollution patterns
  • Use Software Composition Analysis (SCA) tools to identify vulnerable Chartist versions in your dependency tree
  • Deploy runtime application self-protection (RASP) solutions to detect prototype pollution attempts
  • Monitor npm audit alerts and security advisories for Chartist package

Monitoring Recommendations

  • Enable detailed logging for all chart configuration inputs and data processing functions
  • Set up alerts for unusual patterns in JSON payloads targeting chart rendering endpoints
  • Monitor application behavior for signs of prototype pollution such as unexpected global property modifications
  • Implement Content Security Policy (CSP) headers to limit the impact of potential code execution

How to Mitigate CVE-2024-45435

Immediate Actions Required

  • Audit your applications to identify all instances of Chartist versions 1.x through 1.3.0
  • Implement input validation to sanitize all user-controllable data before passing to Chartist functions
  • Consider using Object.freeze(Object.prototype) as a temporary defensive measure where application compatibility allows
  • Evaluate alternative charting libraries if immediate patching is not possible

Patch Information

Review the GitHub Issue Discussion for the latest information on available patches and recommended upgrade paths. Organizations should update to a patched version of Chartist as soon as one becomes available, or implement the workarounds described below.

Workarounds

  • Implement a wrapper function that sanitizes input objects by removing __proto__, constructor, and prototype keys before passing them to Chartist
  • Use Object.create(null) for configuration objects to create prototype-less objects that cannot be polluted
  • Freeze the Object.prototype at application startup using Object.freeze(Object.prototype) (note: may affect application functionality)
  • Validate and whitelist only expected properties in chart configuration objects
bash
# Example: Check Chartist version in your project
npm list chartist

# Audit for vulnerabilities in your dependencies
npm audit

# If a patched version is available, update with:
npm update chartist

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechChartist

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.18%

  • 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 Gist Code Snippet

  • GitHub Issue Discussion
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
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