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

CVE-2021-23370: Swiperjs Swiper Security Vulnerability

CVE-2021-23370 is a security vulnerability affecting Swiperjs Swiper package versions before 6.5.1. This vulnerability poses risks to applications using affected versions. This article covers technical details, impact analysis, and mitigation strategies.

Published: March 4, 2026

CVE-2021-23370 Overview

CVE-2021-23370 is a critical vulnerability affecting the Swiper package, a popular JavaScript library used for creating touch-enabled sliders and carousels in web applications. This vulnerability affects all versions of Swiper prior to version 6.5.1 and can be exploited remotely without authentication.

The Swiper library is widely used in Node.js applications and web projects, distributed through npm and various WebJars packages for Java-based projects. Given its popularity in front-end development for mobile-responsive interfaces, the potential attack surface for this vulnerability is substantial.

Critical Impact

This vulnerability allows unauthenticated remote attackers to potentially compromise the confidentiality, integrity, and availability of affected systems through network-based attacks requiring no user interaction.

Affected Products

  • swiperjs swiper (versions before 6.5.1)
  • org.webjars:swiper (Java WebJars distribution)
  • org.webjars.bower:swiper (Bower WebJars distribution)
  • org.webjars.npm:swiper (npm WebJars distribution)

Discovery Timeline

  • April 12, 2021 - CVE-2021-23370 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-23370

Vulnerability Analysis

This vulnerability in the Swiper package allows remote attackers to compromise affected applications through a network-based attack vector. The vulnerability requires no privileges and no user interaction to exploit, making it particularly dangerous for publicly accessible web applications using vulnerable Swiper versions.

The flaw exists in Swiper versions prior to 6.5.1 and affects both the core JavaScript npm package and various WebJars distributions used in Java-based web applications. Applications using Swiper for implementing touch sliders, carousels, or similar UI components are at risk.

Root Cause

The specific root cause has been addressed in the security commit released by the Swiper development team. The fix was incorporated into version 6.5.1, which resolves the underlying security issue that enabled remote exploitation.

While detailed CWE classification is not available (NVD-CWE-noinfo), the vulnerability's network attack vector and lack of required authentication suggest improper input handling or validation within the library's processing logic.

Attack Vector

The vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker can target web applications using vulnerable Swiper versions by sending specially crafted requests or data that the library processes unsafely.

The attack does not require any special privileges, making it accessible to unauthenticated remote attackers. Successful exploitation could lead to complete compromise of data confidentiality, integrity, and system availability.

Detection Methods for CVE-2021-23370

Indicators of Compromise

  • Unexpected behavior in Swiper-based UI components on web pages
  • Anomalous network traffic patterns targeting endpoints that utilize Swiper functionality
  • Evidence of unauthorized data access or modification in application logs
  • Unusual server resource consumption associated with slider/carousel components

Detection Strategies

  • Audit package dependencies using npm audit or yarn audit to identify vulnerable Swiper versions
  • Implement Software Composition Analysis (SCA) tools to continuously monitor for vulnerable dependencies
  • Review application manifests and package.json files for Swiper versions prior to 6.5.1
  • For Java projects, check Maven/Gradle dependencies for vulnerable WebJars packages

Monitoring Recommendations

  • Enable detailed logging for web application components utilizing Swiper
  • Monitor for unusual patterns in requests targeting pages with slider/carousel functionality
  • Implement Web Application Firewall (WAF) rules to detect potential exploitation attempts
  • Set up alerts for dependency vulnerability notifications from security scanning tools

How to Mitigate CVE-2021-23370

Immediate Actions Required

  • Upgrade Swiper to version 6.5.1 or later immediately
  • Audit all applications and projects for Swiper dependency usage
  • Update WebJars packages in Java projects to patched versions
  • Review and test application functionality after upgrading

Patch Information

The Swiper development team has released a security fix that addresses this vulnerability. Users should upgrade to Swiper version 6.5.1 or later to remediate this issue.

For npm-based projects, update using the package manager. For Java projects using WebJars, update the corresponding WebJars dependency to a version that includes Swiper 6.5.1 or later. Detailed vulnerability information is available through Snyk's JavaScript advisory.

Workarounds

  • Temporarily disable or remove Swiper functionality from production applications until patching is possible
  • Implement additional input validation at the application layer for data processed by Swiper
  • Consider using alternative slider libraries temporarily if immediate upgrade is not feasible
  • Restrict network access to affected applications where possible
bash
# Update Swiper to patched version
npm update swiper@^6.5.1

# Or install latest version directly
npm install swiper@latest

# Verify installed version
npm list swiper

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechSwiperjs

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.54%

  • 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-noinfo
  • Technical References
  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARS-1244698

  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARSBOWER-1244699

  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARSBOWERGITHUBNOLIMITS4WEB-1244697

  • Snyk Vulnerability SNYK-JAVA-ORGWEBJARSNPM-1244696

  • Snyk Vulnerability SNYK-JS-SWIPER-1088062
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-27212: Swiperjs Swiper Auth Bypass 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