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
    • 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-29489

CVE-2021-29489: Highcharts JS XSS Vulnerability

CVE-2021-29489 is a cross-site scripting flaw in Highcharts JS versions 8 and earlier that allows untrusted content to execute malicious code. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-29489 Overview

CVE-2021-29489 is a Cross-Site Scripting (XSS) vulnerability in Highcharts JS, a popular JavaScript charting library based on SVG. In Highcharts versions 8 and earlier, the chart options structure was not systematically filtered for XSS vectors, allowing content from untrusted sources to execute arbitrary code in end users' browsers.

Critical Impact

Attackers can inject malicious scripts through unsanitized chart options, potentially stealing user credentials, session tokens, or performing actions on behalf of authenticated users.

Affected Products

  • Highcharts JS (versions 8 and earlier)
  • NetApp Cloud Backup
  • NetApp OnCommand Insight
  • NetApp OnCommand Workflow Automation
  • NetApp SnapCenter

Discovery Timeline

  • 2021-05-05 - CVE-2021-29489 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-29489

Vulnerability Analysis

This vulnerability exists because the Highcharts JS library did not implement systematic filtering of XSS vectors within its chart options structure. When applications allow users or untrusted sources to supply chart configuration options, malicious JavaScript code can be injected and subsequently executed in the context of the victim's browser session.

The attack requires user interaction (such as viewing a page containing a malicious chart) and low privileges to exploit. Once executed, the injected script can access cookies, session tokens, and other sensitive information stored in the browser, or perform unauthorized actions on behalf of the user.

Root Cause

The root cause of CVE-2021-29489 is insufficient input sanitization in the Highcharts options parsing mechanism. The library accepted and processed chart configuration objects without adequately validating or sanitizing string values that could contain executable JavaScript code. This includes options that accept HTML content, SVG attributes, or callback functions where malicious payloads could be embedded.

Attack Vector

The attack vector is network-based, requiring an attacker to inject malicious content into chart options that are then rendered by the Highcharts library. Exploitation scenarios include:

The attacker can craft malicious chart configuration data containing JavaScript payloads within string properties such as labels, tooltips, or titles. When the target application renders a chart using these tainted options, the malicious script executes in the victim's browser context.

Due to the changed scope characteristic of this vulnerability, a successful attack can impact resources beyond the vulnerable component itself, potentially affecting the broader web application security context.

Detection Methods for CVE-2021-29489

Indicators of Compromise

  • Unexpected JavaScript execution when rendering Highcharts visualizations
  • Unusual network requests originating from pages containing Highcharts components
  • Client-side errors or console warnings related to script execution in chart contexts
  • User reports of suspicious behavior on pages containing interactive charts

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Monitor web application logs for suspicious payloads in chart configuration parameters
  • Use browser developer tools or security scanners to identify XSS vectors in Highcharts implementations
  • Conduct regular code reviews of chart configuration handling logic for proper input sanitization

Monitoring Recommendations

  • Enable CSP violation reporting to capture attempted XSS exploitation
  • Monitor client-side JavaScript errors that may indicate blocked exploitation attempts
  • Implement web application firewall (WAF) rules to detect common XSS patterns in request parameters
  • Review application logs for unusual patterns in chart data inputs

How to Mitigate CVE-2021-29489

Immediate Actions Required

  • Upgrade Highcharts JS to version 9 or later, which includes the security patch
  • Audit all instances where chart options are populated from user input or external sources
  • Implement server-side input validation and sanitization for all chart configuration data
  • Apply DOMPurify recursively to the options structure as a temporary workaround if upgrade is not immediately possible

Patch Information

The vulnerability is patched in Highcharts JS version 9. Organizations should upgrade to version 9 or the latest available release to remediate this vulnerability. For detailed patch information, refer to the GitHub Security Advisory.

NetApp users should consult the NetApp Security Advisory for guidance on affected products including Cloud Backup, OnCommand Insight, OnCommand Workflow Automation, and SnapCenter.

Workarounds

  • Apply DOMPurify recursively to all Highcharts options structures before rendering charts
  • Implement strict Content Security Policy headers to prevent inline script execution
  • Sanitize all user-provided input before incorporating it into chart configurations
  • Consider using a web application firewall with XSS protection capabilities
bash
# Example: Installing DOMPurify for sanitization workaround
npm install dompurify

# In your application code, sanitize options before passing to Highcharts:
# const cleanOptions = DOMPurify.sanitize(JSON.stringify(userOptions));
# const chart = Highcharts.chart('container', JSON.parse(cleanOptions));

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechHighcharts

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory

  • NetApp Security Advisory
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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