XSS in the `of` option of the `.position()` util
Summary
| CVE | CVE-2021-41184 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-10-26 15:15:10 UTC |
| Updated | 2026-08-25 16:28:27 UTC |
| Description | jQuery-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')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| 2.0 | [email protected] | Primary | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| 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
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
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)