# DRUPAL-CONTRIB-2022-027: The GOV.UK Theme (govuktheme) is a Drupal theme for the GOV.UK Design System.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-02-23T17:18:07.000Z
- Modified: 2026-09-10T03:45:55.299Z

## 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.

(As written by Drupal Security Team.)

## Affected

- drupal/govuk_theme (Packagist:https://packages.drupal.org/8): before 1.9.0

## References

- <https://www.drupal.org/sa-contrib-2022-027> (web)

## Sources

- Drupal Security Team: [DRUPAL-CONTRIB-2022-027](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2022-027), MIT, modified 2026-09-10

---

Page: https://cve.day/DRUPAL-CONTRIB-2022-027 · Whole record: https://cve.day/DRUPAL-CONTRIB-2022-027.json · Rebuilt by cve.day 2026-11-25T22:56:30.134Z
