XSS in the `altField` option of the Datepicker widget

Summary

CVECVE-2021-41182
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-10-26 15:15:10 UTC
Updated2026-08-25 16:28:27 UTC
DescriptionjQuery-UI is 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. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `altField` option is now treated as a CSS selector. A workaround is to not accept the value of the `altField` option from untrusted sources.

Risk And Classification

Primary CVSS: v3.1 6.1 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Problem Types: CWE-79 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
3.1[email protected]Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
3.1CNADECLARED6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Application Drupal Drupal All All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Jqueryui Jquery Ui All All All All
Hardware Netapp H300e - All All All
Operating System Netapp H300e Firmware - All All All
Hardware Netapp H300s - All All All
Operating System Netapp H300s Firmware - All All All
Hardware Netapp H410c - All All All
Operating System Netapp H410c Firmware - All All All
Hardware Netapp H410s - All All All
Operating System Netapp H410s Firmware - All All All
Hardware Netapp H500e - All All All
Operating System Netapp H500e Firmware - All All All
Hardware Netapp H500s - All All All
Operating System Netapp H500s Firmware - All All All
Hardware Netapp H700e - All All All
Operating System Netapp H700e Firmware - All All All
Hardware Netapp H700s - All All All
Operating System Netapp H700s Firmware - All All All
Application Oracle Agile Product Lifecycle Management 9.3.6 All All All
Application Oracle Application Express All All All All
Application Oracle Banking Platform 2.12.0 All All All
Application Oracle Banking Platform 2.9.0 All All All
Application Oracle Big Data Spatial And Graph All All All All
Application Oracle Big Data Spatial And Graph 23.1 All All All
Application Oracle Communications Interactive Session Recorder 6.4 All All All
Application Oracle Communications Operations Monitor 4.3 All All All
Application Oracle Communications Operations Monitor 4.4 All All All
Application Oracle Communications Operations Monitor 5.0 All All All
Application Oracle Hospitality Suite8 8.10.2 All All All
Application Oracle Hospitality Suite8 All All All All
Application Oracle Mysql Enterprise Monitor All All All All
Application Oracle Primavera Unifier 17.10 All All All
Application Oracle Primavera Unifier 17.11 All All All
Application Oracle Primavera Unifier 17.12 All All All
Application Oracle Primavera Unifier 17.7 All All All
Application Oracle Primavera Unifier 17.8 All All All
Application Oracle Primavera Unifier 17.9 All All All
Application Oracle Primavera Unifier 18.8 All All All
Application Oracle Primavera Unifier 19.12 All All All
Application Oracle Primavera Unifier 20.12 All All All
Application Oracle Primavera Unifier 21.12 All All All
Application Oracle Weblogic Server 12.2.1.3.0 All All All
Application Oracle Weblogic Server 12.2.1.4.0 All All All
Application Oracle Weblogic Server 14.1.1.0.0 All All All
Application Tenable Tenable.sc All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Jquery Jquery-ui affected < 1.13.0 Not specified

References

ReferenceSourceLinkTags
[SECURITY] [DLA-2889-1] drupal7 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Access to this page has been denied. af854a3a-2127-422b-91ae-364da2661108 www.drupal.org Third Party Advisory
Oracle Critical Patch Update Advisory - April 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] Fedora 34 Update: js-jquery-ui-1.13.0-1.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
[SECURITY] Fedora 35 Update: js-jquery-ui-1.13.0-1.fc35 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
October 2021 jQuery Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
Datepicker: Make sure altField is treated as a CSS selector by mgol · Pull Request #1954 · jquery/jquery-ui · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
XSS in the `altField` option of the Datepicker widget · Advisory · jquery/jquery-ui · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Exploit, Mitigation, Third Party Advisory
[SECURITY] [DLA 3551-1] otrs2 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
Access to this page has been denied. af854a3a-2127-422b-91ae-364da2661108 www.drupal.org Third Party Advisory
Oracle Critical Patch Update Advisory - July 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] Fedora 33 Update: js-jquery-ui-1.13.0-1.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
[SECURITY] Fedora 36 Update: drupal7-7.92-1.fc36 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
[SECURITY] Fedora 35 Update: drupal7-7.92-1.fc35 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Third Party Advisory
[R1] Tenable.sc 5.21.0 Fixes Multiple Third-Party Vulnerabilities - Security Advisory | Tenable® af854a3a-2127-422b-91ae-364da2661108 www.tenable.com Third Party Advisory
jQuery UI 1.13.0 released | jQuery UI Blog af854a3a-2127-422b-91ae-364da2661108 blog.jqueryui.com Release Notes, Vendor Advisory
[SECURITY] Fedora 33 Update: js-jquery-ui-1.13.0-1.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
FEDORA:FEDORA-2021-51c256bf87 MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: js-jquery-ui-1.13.0-1.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 36 Update: drupal7-7.92-1.fc36 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 35 Update: drupal7-7.92-1.fc35 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 154118 Drupal Core Cross-Site Scripting (XSS) Vulnerability (CVE-2021-41182)
  • 180465 Debian Security Update for jqueryui (CVE-2021-41182)
  • 180932 Debian Security Update for drupal7 (DLA-2889-1)
  • 181307 Debian Security Update for jqueryui (DLA 3230-1)
  • 199813 Ubuntu Security Notification for jQuery UI Vulnerabilities (USN-6419-1)
  • 282060 Fedora Security Update for js (FEDORA-2021-ab38307fc3)
  • 282066 Fedora Security Update for js (FEDORA-2021-013ab302be)
  • 282154 Fedora Security Update for js (FEDORA-2021-51c256bf87)
  • 283227 Fedora Security Update for drupal7 (FEDORA-2022-9d655503ea)
  • 283277 Fedora Security Update for drupal7 (FEDORA-2022-bf18450366)
  • 283473 Fedora Security Update for drupal7 (FEDORA-2022-c4334d5277)
  • 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
  • 502054 Alpine Linux Security Update for drupal7
  • 504707 Alpine Linux Security Update for drupal7
  • 6000085 Debian Security Update for otrs2 (DLA 3551-1)
  • 730263 jQueryUI Cross-Site Scripting Vulnerability
  • 730342 Drupal Core Cross-Site Scripting (XSS) Vulnerability (SA-CORE-2022-002)
  • 980031 Nodejs (npm) Security Update for jquery-ui (GHSA-9gj3-hwp5-pmwc)
  • 995412 Rubygems (Rubygems) Security Update for jquery-ui-rails (GHSA-9gj3-hwp5-pmwc)
  • 995432 DotNet (Nuget) Security Update for jQuery.UI.Combined (GHSA-9gj3-hwp5-pmwc)
  • 995918 Java (Maven) Security Update for org.webjars.npm:jquery-ui (GHSA-9gj3-hwp5-pmwc)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report