Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2022-001 - SA-CORE-2022-002

Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2022-001 - SA-CORE-2022-002

Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2022-001

Project: Drupal core
Date: 2022-January-19
Security risk: Moderately critical 14∕25
Vulnerability: Cross Site Scripting

Description

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. As part of this 1.13.0 update, they disclosed the following security issue that may affect Drupal 9 and 7:

It is possible that this vulnerability is exploitable with some Drupal modules. As a precaution, this Drupal security release applies the fix for the above cross-site description issue, without making any of the other changes to the jQuery version that is included in Drupal.

Solution

Install the latest version:

All versions of Drupal 8 and 9 prior to 9.2.x are end-of-life and do not receive security coverage. Note that Drupal 8 has reached its end of life.


Drupal core - Moderately critical - Cross site scripting - SA-CORE-2022-002

Project: Drupal core
Date: 2022-January-19
Security risk: Moderately critical 14∕25 
Vulnerability: Cross site scripting

Description

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-20220-001, further security vulnerabilities disclosed in jQuery UI 1.13.0 may affect Drupal 7 only:

Furthermore, other vulnerabilities listed below were previously unaddressed in the version of jQuery UI included in Drupal 7 or in the jQuery Update module:

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.

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.

Solution

Install the latest version:

If you are using Drupal 7, update to Drupal 7.86

We value your opinion. Please add your feedback.