Skip to main content
← All vulnerabilities
CVE-2021-41182GHSA-9GJ3-HWP5-PMWCBIT-DRUPAL-2021-41182

XSS in the `altField` option of the Datepicker widget

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 `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.

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

  • jQuery.UI.CombinedNuGet

    fixed in 1.13.0

  • jquery-ui-railsRubyGems

    fixed in 7.0.0

  • org.webjars.npm:jquery-uiMaven

    fixed in 1.13.0

References 17

GitHub · jquery/jquery-ui

blog.jqueryui.com

lists.fedoraproject.org

lists.debian.org

drupal.org

oracle.com

security.netapp.com

tenable.com

GitHub · aredspy/CVE-2021-41182-Tester