# DRUPAL-CONTRIB-2022-004: jQuery UI is a third-party library used by Drupal

- Database: Drupal
- Published: 2022-01-19
- Modified: 2026-09-10

## Affected versions

- drupal/jquery\_ui\_datepicker (Packagist): fixed in 1.2.0

## Description

jQuery UI is a third-party library used by Drupal. The jQuery UI Datepicker module provides the jQuery UI Datepicker library, which is not included in Drupal 9 core.

jQuery UI was previously thought to be end-of-life.

Late in 2021, jQuery UI announced that they would be continuing development, and released a [jQuery UI 1.13.0](https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/) version. As part of this 1.13.0 update, they disclosed the following security issues that may affect site using the jQuery UI Datepicker module:

* CVE-2021-41182: [XSS in the altField option of the Datepicker widget](https://github.com/jquery/jquery-ui/security/advisories/GHSA-9gj3-hwp5-pmwc)
* CVE-2021-41183: [XSS in \*Text options of the Datepicker widget](https://github.com/jquery/jquery-ui/security/advisories/GHSA-j7qv-pgf6-hvh4)

## References

- https://www.drupal.org/sa-contrib-2022-004

Page: https://cve.now/DRUPAL-CONTRIB-2022-004

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
