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-28092

CVE-2021-28092: Is-svg Package ReDoS Vulnerability

CVE-2021-28092 is a Regular Expression Denial of Service (ReDoS) vulnerability in the is-svg package for Node.js. Malicious input can cause the application to hang indefinitely. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 25, 2026

CVE-2021-28092 Overview

The is-svg package versions 2.1.0 through 4.2.1 for Node.js contains a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). When an attacker provides a malicious string input, the is-svg library becomes stuck processing the input for an extended period, effectively causing a denial of service condition in applications that depend on this package.

Critical Impact

Applications using vulnerable versions of is-svg can be rendered unresponsive when processing maliciously crafted input strings, potentially causing service outages and impacting application availability.

Affected Products

  • is-svg versions 2.1.0 through 4.2.1 for Node.js
  • Applications and dependencies utilizing vulnerable is-svg versions
  • NetApp products (as referenced in their security advisory)

Discovery Timeline

  • 2021-03-12 - CVE-2021-28092 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-28092

Vulnerability Analysis

This vulnerability is classified as CWE-1333 (Inefficient Regular Expression Complexity). The is-svg package is designed to check if a given string is a valid SVG (Scalable Vector Graphics) image. The core issue lies in the regular expression pattern used for validation, which exhibits catastrophic backtracking behavior when processing certain input patterns.

Regular Expression Denial of Service attacks exploit the computational complexity of regex engines. When a vulnerable regex encounters a malicious input string, the engine can enter an exponential time complexity state due to excessive backtracking. In this case, the regex used within is-svg for SVG validation contains patterns that are susceptible to this type of algorithmic complexity attack.

The vulnerability can be exploited remotely over the network without requiring authentication or user interaction. The impact is limited to availability, causing denial of service without compromising data confidentiality or integrity.

Root Cause

The root cause is an inefficient regular expression pattern within the is-svg package that fails to handle certain input strings efficiently. The regex contains constructs that lead to catastrophic backtracking—a condition where the regex engine explores an exponentially growing number of possible matches when processing specially crafted input. This is a common issue in regex patterns that use nested quantifiers or overlapping alternations without proper anchoring or atomic grouping.

Attack Vector

An attacker can exploit this vulnerability by providing a maliciously crafted string to any application that uses the is-svg package for input validation. The attack is network-based and requires no privileges or user interaction. When the vulnerable function processes the malicious input, the regex engine enters a state of excessive backtracking, consuming CPU resources and blocking the event loop in Node.js applications. This effectively freezes the application, causing denial of service.

The attack is particularly concerning in Node.js environments due to the single-threaded nature of the event loop—a ReDoS attack can block all request processing, not just the malicious request.

Detection Methods for CVE-2021-28092

Indicators of Compromise

  • Abnormally high CPU utilization in Node.js processes without corresponding increase in legitimate traffic
  • Application response times degrading significantly or timing out completely
  • Event loop delays or blocked requests in Node.js application monitoring
  • Log entries showing requests with unusually long processing times for SVG validation operations

Detection Strategies

  • Implement dependency scanning in CI/CD pipelines to identify vulnerable versions of is-svg (2.1.0 through 4.2.1)
  • Use software composition analysis (SCA) tools to audit package.json and package-lock.json files
  • Monitor application performance metrics for anomalous CPU spikes during request processing
  • Deploy runtime application self-protection (RASP) to detect ReDoS patterns

Monitoring Recommendations

  • Configure alerting thresholds for Node.js event loop latency exceeding baseline values
  • Implement request timeout mechanisms to terminate long-running validation operations
  • Monitor and log processing duration for SVG validation functions
  • Use APM tools to track regex execution times and identify potential ReDoS attempts

How to Mitigate CVE-2021-28092

Immediate Actions Required

  • Upgrade is-svg to version 4.2.2 or later immediately
  • Audit all applications and dependencies for vulnerable is-svg versions
  • Implement request timeouts and input size limits as defense-in-depth measures
  • Review dependency trees for transitive dependencies that may include vulnerable versions

Patch Information

The vulnerability has been addressed in is-svg version 4.2.2. The fix involves modifying the regular expression pattern to eliminate the catastrophic backtracking behavior. Organizations should update their package.json to require is-svg ^4.2.2 or later. For detailed release information, refer to the GitHub Release v4.2.2 page. Additional information is available in the NetApp Security Advisory.

Workarounds

  • Implement input length validation before passing strings to is-svg to limit the maximum input size
  • Add timeout wrappers around is-svg function calls to prevent indefinite blocking
  • Consider alternative SVG validation methods that do not rely on vulnerable regex patterns
  • Use worker threads for SVG validation to prevent event loop blocking in critical paths
bash
# Update is-svg to patched version
npm update is-svg

# Verify installed version
npm list is-svg

# Force update to specific patched version
npm install is-svg@4.2.2 --save

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechIs Svg

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.30%

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

  • GitHub Release v4.2.2

  • NetApp Security Advisory

  • NPM Package Information
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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