Skip to main content
← All vulnerabilities
CVE-2021-41184GHSA-GPQQ-952Q-5327BIT-DRUPAL-2021-41184

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.13.0, 7.0.0
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • jquery jquery-ui

    fixed in 1.13.0

  • jquery-uinpm

    fixed in 1.13.0

  • org.webjars.npm:jquery-uiMaven

    fixed in 1.13.0

  • jQuery.UI.CombinedNuGet

    fixed in 1.13.0

  • jquery-ui-railsRubyGems

    fixed in 7.0.0

References 15

blog.jqueryui.com

GitHub · jquery/jquery-ui

lists.fedoraproject.org

oracle.com

security.netapp.com

drupal.org

tenable.com

lists.debian.org

GitHub · gabrielolivra/Exploit-Medium-CVE-2021-41184