{"id":"DRUPAL-CONTRIB-2022-027","aliases":[],"status":"published","description":"The GOV.UK Theme (`govuk_theme`) is a Drupal theme for the GOV.UK Design System.\n\nThe 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.\n\nThe vulnerability is mitigated by the facts, that:\n\n* An attacker must have one of several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.\n* For some of the vulnerabilities, certain contributed modules must be enabled.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-02-23T17:18:07Z","modified":"2026-09-10T03:45:55Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/govuk_theme","fixed_in":["1.9.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/govuk_theme","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0"}]}]}],"references":[{"url":"https://www.drupal.org/sa-contrib-2022-027","tags":["web"]}],"sources":{"osv":[{"id":"DRUPAL-CONTRIB-2022-027","description":"The GOV.UK Theme (`govuk_theme`) is a Drupal theme for the GOV.UK Design System.\n\nThe 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.\n\nThe vulnerability is mitigated by the facts, that:\n\n* An attacker must have one of several permissions, of which at least some are commonly only assigned to either editors, site builders or administrators.\n* For some of the vulnerabilities, certain contributed modules must be enabled.","status":"published","published":"2022-02-23T17:18:07Z","modified":"2026-09-10T03:45:55.299939531Z","updated_at":"2026-11-02T15:46:13.584509Z"}]}}
