{"id":"DRUPAL-CONTRIB-2023-017","details":"The Consent Popup provides a configurable popup that requires acceptance of a question before the visitor can continue, typically used for age consent.\n\nThe module doesn't sufficiently sanitizes the text on the block leading to a cross site scripting (XSS) vulnerability.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the permission to create blocks.","modified":"2026-09-10T03:45:29.373945594Z","published":"2023-05-31T13:18:52Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2023-017"}],"affected":[{"package":{"name":"drupal/consent_popup","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/consent_popup?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3"}],"database_specific":{"constraint":"\u003c1.0.3"}}],"database_specific":{"affected_versions":"\u003c1.0.3","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/consent_popup/DRUPAL-CONTRIB-2023-017.json"}}],"schema_version":"1.9.0","credits":[{"name":"Mitch Portier","contact":["https://www.drupal.org/user/2284182"]}]}