SA-CORE-2022-002: Drupal core - Moderately critical - Cross site scripting - SA-CORE-2022-002
jQuery UI is a third-party library used by Drupal. This library 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 version. In addition to the issue covered by SA-CORE-2022-001, further security vulnerabilities disclosed in jQuery UI 1.13.0 may affect Drupal 7 only:
CVE-2021-41182: XSS in the altField option of the Datepicker widget CVE-2021-41183: XSS in Text options of the Datepicker widget
Furthermore, other vulnerabilities listed below were previously unaddressed in the version of jQuery UI included in Drupal 7 or in the jQuery Update module:
CVE-2016-7103: XSS in closeText option of Dialog CVE-2010-5312: XSS in the title option of Dialog (applicable only to the jQuery UI version included in D7 core)
It is possible that these vulnerabilities are exploitable via contributed Drupal modules or custom code. As a precaution, this Drupal security release applies the fix for the above cross-site scripting issues, without making other changes to the jQuery UI version that is included in Drupal. This advisory is not covered by Drupal Steward. Important note regarding the jQuery Update contrib module These backport fixes in D7 have also been tested with the version of jQuery UI provided by the most recent releases of the jQuery Update module (jQuery UI 1.10.2) and the fixes confirmed. Therefore, there is no accompanying security release for jQuery Update. However, in early 2022 the currently supported release of jQuery Update (7.x-2.7 from 2015) will be deprecated and replaced by a new release from the 7.x-4.x branch. The stable release from that branch will then be the only release considered by Drupal Security Team when new jQuery security issues arise. Please check the jQuery Update project page for more details, and for announcements when the changes are made to supported releases.
Credit
Affected Software
Event History
Frequently Asked Questions
What is the severity of SA-CORE-2022-002?
The severity of SA-CORE-2022-002 is classified as moderate, indicating that it has the potential to impact security but requires specific conditions to be exploitable.
How do I fix SA-CORE-2022-002?
To fix SA-CORE-2022-002, update your Drupal installation to the latest version that addresses this vulnerability.
Which versions of Drupal are affected by SA-CORE-2022-002?
SA-CORE-2022-002 affects Drupal 7 and earlier versions that utilize the outdated jQuery UI library.
What vulnerabilities does SA-CORE-2022-002 address?
SA-CORE-2022-002 addresses security issues related to the jQuery UI library, specifically vulnerabilities that were previously thought to be resolved.
Is it safe to continue using Drupal with SA-CORE-2022-002?
It is not recommended to continue using Drupal with SA-CORE-2022-002 without applying the necessary updates, as this could expose your site to potential exploits.