{"id":"DRUPAL-CONTRIB-2022-027","details":"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.","modified":"2026-09-10T03:45:55.299939531Z","published":"2022-02-23T17:18:07Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2022-027"}],"affected":[{"package":{"name":"drupal/govuk_theme","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/govuk_theme?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0"}],"database_specific":{"constraint":"\u003c1.9.0"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/govuk_theme/DRUPAL-CONTRIB-2022-027.json","affected_versions":"\u003c1.9.0"}}],"schema_version":"1.9.0","credits":[{"name":"Patrick Fey","contact":["https://www.drupal.org/user/998680"]}]}