Description
Accepting the value of the of option of the .position() util from untrusted sources may execute untrusted code. For example, invoking the following code:
will call the doEvilThing() function.
Recommendation
Update the jquery-ui package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.13.0
- Patched version(s): 1.13.0
References
- GHSA-gpqq-952q-5327
- www.drupal.org
- www.oracle.com
- www.tenable.com
- lists.debian.org
- security.netapp.com
- lists.fedoraproject.org
- blog.jqueryui.com
- seclists.org
- CVE-2021-41184
- CWE-79
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- XSS in the `altField` option of the Datepicker widget in jquery-ui - CVE-2021-41182
- XSS in `*Text` options of the Datepicker widget in jquery-ui - CVE-2021-41183
- jquery-ui Tooltip widget vulnerable to XSS - CVE-2012-6662
- jquery.terminal self XSS on user input - CVE-2021-43862
- Tags:
- npm
- jquery-ui
Anything's wrong? Let us know Last updated on November 04, 2025