XSS in the `of` option of the `.position()` util

Summary

CVECVE-2021-41184
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 `of` option of the `.position()` util from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `of` option is now treated as a CSS selector. A workaround is to not accept the value of the `of` 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
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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Jquery Jquery-ui affected < 1.13.0 Not specified

References

ReferenceSourceLinkTags
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
[SECURITY] [DLA 3551-1] otrs2 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2022-001 | Drupal.org af854a3a-2127-422b-91ae-364da2661108 www.drupal.org Third Party Advisory
Position: Make sure `of` is treated as a CSS selector · jquery/jquery-ui@effa323 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Vendor Advisory
Oracle Critical Patch Update Advisory - July 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com 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
seclists.org/fulldisclosure/2024/Aug/37 af854a3a-2127-422b-91ae-364da2661108 seclists.org
[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 Patch, Release Notes, Third Party Advisory
jQuery UI 1.13.0 released | jQuery UI Blog af854a3a-2127-422b-91ae-364da2661108 blog.jqueryui.com Release Notes, Vendor Advisory
XSS in the `of` option of the `.position()` util · Advisory · jquery/jquery-ui · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Mitigation, Patch, 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

  • 180512 Debian Security Update for jqueryui (CVE-2021-41184)
  • 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)
  • 6000085 Debian Security Update for otrs2 (DLA 3551-1)
  • 730263 jQueryUI Cross-Site Scripting Vulnerability
  • 730345 Drupal Core Security Update (SA-CORE-2022-001)
  • 87489 Oracle WebLogic Server Multiple Vulnerabilities (CPUAPR2022)
  • 980029 Nodejs (npm) Security Update for jquery-ui (GHSA-gpqq-952q-5327)
  • 995436 DotNet (Nuget) Security Update for jQuery.UI.Combined (GHSA-gpqq-952q-5327)
  • 995445 Rubygems (Rubygems) Security Update for jquery-ui-rails (GHSA-gpqq-952q-5327)
  • 995919 Java (Maven) Security Update for org.webjars.npm:jquery-ui (GHSA-gpqq-952q-5327)

© 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