7.2
CWE
79
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2021-41183: XSS in `*Text` options of the Datepicker widget

First published: Mon Oct 25 2021(Updated: )

### Impact Accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. For example, initializing the datepicker in the following way: ```js $( "#datepicker" ).datepicker( { showButtonPanel: true, showOn: "both", closeText: "<script>doEvilThing( 'closeText XSS' )</script>", currentText: "<script>doEvilThing( 'currentText XSS' )</script>", prevText: "<script>doEvilThing( 'prevText XSS' )</script>", nextText: "<script>doEvilThing( 'nextText XSS' )</script>", buttonText: "<script>doEvilThing( 'buttonText XSS' )</script>", appendText: "<script>doEvilThing( 'appendText XSS' )</script>", } ); ``` will call `doEvilThing` with 6 different parameters coming from all `*Text` options. ### Patches The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. ### Workarounds A workaround is to not accept the value of the `*Text` options from untrusted sources. ### For more information If you have any questions or comments about this advisory, search for a relevant issue in [the jQuery UI repo](https://github.com/jquery/jquery-ui/issues). If you don't find an answer, open a new issue.

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
rubygems/jquery-ui-rails<7.0.0
7.0.0
nuget/jQuery.UI.Combined<1.13.0
1.13.0
maven/org.webjars.npm:jquery-ui<1.13.0
1.13.0
npm/jquery-ui<1.13.0
1.13.0
debian/jqueryui
1.12.1+dfsg-8+deb11u2
1.13.2+dfsg-1
debian/otrs2<=6.0.32-6
IBM QRadar SIEM<=7.5.0 GA
IBM QRadar SIEM<=7.4.3 GA - 7.4.3 FP4
IBM QRadar SIEM<=7.3.3 GA - 7.3.3 FP10
jQuery UI<1.13.0
Fedora=33
Fedora=34
Fedora=35
Fedora=36
All of
netapp h300s firmware
netapp h300s
All of
NetApp H500S Firmware
netapp h500s
All of
netapp h700s firmware
netapp h700s
All of
netapp h300e firmware
netapp h300e
All of
netapp h500e firmware
netapp h500e
All of
netapp h700e firmware
netapp h700e
All of
netapp h410s firmware
netapp h410s
All of
netapp h410c firmware
netapp h410c
Debian=9.0
Drupal>=7.0<7.86
Drupal>=9.2.0<9.2.11
Drupal>=9.3.0<9.3.3
Oracle Agile PLM=9.3.6
Oracle Application Express<22.1.1
oracle banking platform=2.9.0
oracle banking platform=2.12.0
Oracle Big Data Spatial and Graph<23.1
Oracle Big Data Spatial and Graph=23.1
Oracle Communications Interactive Session Recorder=6.4
Oracle Communications Operations Monitor=4.3
Oracle Communications Operations Monitor=4.4
Oracle Communications Operations Monitor=5.0
Oracle Hospitality Inventory Management=9.1.0
Oracle Hospitality Suite8>=8.11.0<=11.14.0
Oracle Hospitality Suite8=8.10.2
Oracle JD Edwards EnterpriseOne Tools<=9.2.6.3
MySQL Enterprise Monitor<=8.0.29
Oracle PeopleSoft Enterprise PeopleTools=8.58
Oracle PeopleSoft Enterprise PeopleTools=8.59
oracle policy automation>=12.2.0<=12.2.5
oracle primavera gateway>=17.7<=17.12
oracle primavera gateway=18.8.0
oracle primavera gateway=19.12.0
oracle primavera gateway=20.12.0
oracle primavera gateway=21.12.0
Oracle REST Data Services<22.1.1
Oracle REST Data Services=22.1.1
Oracle WebLogic Server=12.2.1.3.0
Oracle WebLogic Server=12.2.1.4.0
Oracle WebLogic Server=14.1.1.0.0
tenable tenable.sc<5.21.0
netapp h300s firmware
netapp h300s
NetApp H500S Firmware
netapp h500s
netapp h700s firmware
netapp h700s
netapp h300e firmware
netapp h300e
netapp h500e firmware
netapp h500e
netapp h700e firmware
netapp h700e
netapp h410s firmware
netapp h410s
netapp h410c firmware
netapp h410c

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-41183?

    CVE-2021-41183 is categorized as a high severity vulnerability due to its potential to execute untrusted code.

  • How do I fix CVE-2021-41183?

    To fix CVE-2021-41183, ensure you update to the patched versions of the affected packages such as jquery-ui-rails 7.0.0 or jQuery.UI.Combined 1.13.0.

  • Which applications are affected by CVE-2021-41183?

    Applications using vulnerable versions of the Datepicker widget in jQuery UI are affected by CVE-2021-41183.

  • What are the consequences of CVE-2021-41183 if exploited?

    If exploited, CVE-2021-41183 could allow an attacker to run arbitrary code within the context of the web application.

  • What versions of jQuery UI are vulnerable to CVE-2021-41183?

    Versions of jQuery UI prior to 1.13.0 are vulnerable to CVE-2021-41183.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203