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

CVE-2021-41182: jQuery-UI Datepicker XSS Vulnerability

CVE-2021-41182 is an XSS flaw in jQuery-UI Datepicker that allows code execution via untrusted altField values. This post covers the technical details, affected versions, security impact, and mitigation.

Published: February 25, 2026

CVE-2021-41182 Overview

CVE-2021-41182 is a Cross-Site Scripting (XSS) vulnerability in jQuery UI, the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the altField option of the Datepicker widget from untrusted sources may execute untrusted code. This vulnerability allows attackers to inject and execute malicious scripts in the context of a user's browser session when the altField option is populated with attacker-controlled input.

Critical Impact

Applications using jQuery UI Datepicker with user-controlled altField values are vulnerable to XSS attacks, potentially leading to session hijacking, credential theft, and malicious content injection across numerous enterprise platforms including Oracle, Drupal, and NetApp products.

Affected Products

  • jQuery UI versions prior to 1.13.0
  • Drupal (multiple versions)
  • Oracle WebLogic Server 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0
  • Oracle PeopleSoft Enterprise PeopleTools 8.58, 8.59
  • Oracle MySQL Enterprise Monitor
  • Oracle Application Express
  • Oracle Primavera Unifier (multiple versions)
  • Fedora 33, 34, 35, 36
  • Debian Linux 9.0
  • NetApp H-Series firmware (H300S, H500S, H700S, H300E, H500E, H700E, H410S, H410C)
  • Tenable.sc

Discovery Timeline

  • 2021-10-26 - CVE-2021-41182 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-41182

Vulnerability Analysis

This vulnerability exists in the jQuery UI Datepicker widget's handling of the altField option. The altField option is designed to specify an alternate field to populate with the selected date value. In vulnerable versions, when the altField option accepts a string value from untrusted sources, jQuery UI improperly processes this input, allowing arbitrary code execution through DOM manipulation.

The vulnerability is exploitable over the network and requires user interaction, such as visiting a malicious page or clicking a crafted link. Successful exploitation can compromise confidentiality and integrity of data within the affected web application context.

Root Cause

The root cause of this vulnerability is the improper sanitization of the altField option value. Prior to the fix in version 1.13.0, the Datepicker widget treated the altField value as a jQuery selector that could execute arbitrary JavaScript code when processed. The fix implemented in jQuery UI 1.13.0 ensures that any string value passed to the altField option is now strictly treated as a CSS selector, preventing script execution.

Attack Vector

The attack vector is network-based, requiring an attacker to craft malicious input that gets processed by the Datepicker widget's altField option. An attacker can exploit this vulnerability through several scenarios:

  1. Applications that allow user-controlled values to be passed to the Datepicker's altField configuration
  2. Form fields or URL parameters that influence the altField option dynamically
  3. Stored XSS scenarios where malicious payloads are persisted and rendered to other users

When a victim interacts with a page containing the malicious payload, the attacker's JavaScript code executes in the victim's browser context. This enables session token theft, keylogging, phishing attacks, or defacement of the web application.

The vulnerability manifests when untrusted input is passed to the Datepicker widget's altField option. Prior to the fix, jQuery UI would interpret certain string patterns as executable code rather than simple CSS selectors. For technical details and the specific code changes, refer to the GitHub Security Advisory GHSA-9gj3-hwp5-pmwc and the fix commit.

Detection Methods for CVE-2021-41182

Indicators of Compromise

  • Unusual JavaScript execution patterns in web application logs associated with Datepicker widget interactions
  • Unexpected modifications to form fields or DOM elements when users interact with date selection components
  • User reports of suspicious redirects, pop-ups, or credential prompts when using date picker functionality
  • Web application firewall (WAF) alerts for XSS patterns targeting jQuery UI components

Detection Strategies

  • Implement Content Security Policy (CSP) headers and monitor for CSP violation reports indicating injection attempts
  • Deploy web application firewalls with rules specifically designed to detect XSS payloads in jQuery UI widget parameters
  • Audit application source code for instances where altField option receives user-controlled input
  • Use static application security testing (SAST) tools to identify vulnerable jQuery UI versions in your codebase

Monitoring Recommendations

  • Monitor browser console errors and security exceptions that may indicate blocked XSS attempts
  • Track jQuery UI version usage across your application portfolio using software composition analysis (SCA) tools
  • Configure logging for Datepicker widget initialization events to identify suspicious configurations
  • Implement real-time alerting for anomalous JavaScript execution patterns in user sessions

How to Mitigate CVE-2021-41182

Immediate Actions Required

  • Upgrade jQuery UI to version 1.13.0 or later across all affected applications
  • Audit all instances of Datepicker widget usage to identify where altField option values may originate from untrusted sources
  • Implement input validation and sanitization for any user-controlled values that could influence widget configuration
  • Deploy Content Security Policy headers to provide an additional layer of XSS protection

Patch Information

The vulnerability is fixed in jQuery UI version 1.13.0, released in October 2021. The fix ensures that all string values passed to the altField option are treated strictly as CSS selectors, preventing code execution. Organizations should upgrade to jQuery UI 1.13.0 or later. For detailed information about the release, see the jQuery UI 1.13.0 Release Announcement.

Downstream vendors have also released patches:

  • Drupal: See SA-CORE-2022-002 and SA-CONTRIB-2022-004
  • Oracle: Patches available in CPU April 2022 and CPU July 2022
  • Tenable: See TNS-2022-09
  • NetApp: See NTAP-20211118-0004

Workarounds

  • Do not accept the value of the altField option from untrusted sources until patching is complete
  • Implement server-side validation to ensure altField values match expected CSS selector patterns only
  • Use a web application firewall to filter malicious input patterns targeting jQuery UI widgets
  • Consider disabling Datepicker functionality temporarily in high-risk applications until the patch is applied
bash
# Verify jQuery UI version in your project
grep -r "jquery-ui" package.json package-lock.json
npm list jquery-ui

# Update jQuery UI to patched version
npm update jquery-ui@1.13.0
# or
yarn upgrade jquery-ui@1.13.0

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechJqueryui

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability19.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Debian LTS Announcement January 2022

  • Debian LTS Announcement August 2023

  • Fedora Package Announcement HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3

  • Fedora Package Announcement NXIUUBRVLA4E7G7MMIKCEN75YN7UFERW

  • Fedora Package Announcement O74SXYY7RGXREQDQUDQD4BPJ4QQTD2XQ

  • Fedora Package Announcement SGSY236PYSFYIEBRGDERLA7OSY6D7XL4

  • Fedora Package Announcement SNXA7XRKGINWSUIPIZ6ZBCTV6N3KSHES

  • NetApp Security Advisory NTAP-20211118-0004

  • Drupal Security Advisory SA-CONTRIB-2022-004

  • Drupal Security Advisory SA-CORE-2022-002

  • Tenable Security Advisory TNS-2022-09
  • Vendor Resources
  • jQuery UI 1.13.0 Release

  • jQuery UI Pull Request Commits

  • GitHub Security Advisory GHSA-9gj3-hwp5-pmwc

  • Oracle Security Alert CPUAPR2022

  • Oracle Security Alert CPUJUL2022
  • 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
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