[Security-news] GOV.UK Theme - Moderately critical - Cross site scripting - SA-CONTRIB-2022-027
security-news at drupal.org
security-news at drupal.org
Wed Feb 23 17:49:52 UTC 2022
View online: https://www.drupal.org/sa-contrib-2022-027
Project: GOV.UK Theme [1]
Date: 2022-February-23
Security risk: *Moderately critical* 14∕25
AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:All [2]
Vulnerability: Cross site scripting
Description:
The GOV.UK Theme (govuk_theme) is a Drupal theme for the GOV.UK Design
System.
The theme doesn't sanitize user input in certain cases, which leads to
Cross-Site-Scripting (XSS) vulnerabilities. An attacker that can create or
edit certain entities or configuration may be able to exploit one or more
Cross-Site-Scripting (XSS) vulnerabilities to target visitors of the site,
including site admins with privileged access.
The vulnerability is mitigated by the facts, that:
* An attacker must have one of several permissions, of which at least some
are commonly only assigned to either editors, site builders or
administrators.
* For some of the vulnerabilities, certain contributed modules must be
enabled.
Solution:
Install the latest version:
* If you use the govuk_theme for Drupal 9.x, upgrade to govuk_theme 8.x-1.9
[3]
Reported By:
* Patrick Fey [4]
Fixed By:
* Andrew Hughes-Onslow [5]
* Patrick Fey [6]
Coordinated By:
* Chris McCafferty [7] of the Drupal Security Team
[1] https://www.drupal.org/project/govuk_theme
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/project/govuk_theme/releases/8.x-1.9
[4] https://www.drupal.org/user/998680
[5] https://www.drupal.org/user/2547946
[6] https://www.drupal.org/user/998680
[7] https://www.drupal.org/user/1850070
More information about the Security-news
mailing list