Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2023-017

The Consent Popup provides a configurable popup that requires acceptance of a question before the visitor can continue, typically used for …

Published May 31, 2023 · Updated Sep 10, 2026 · Assigned by DRUPAL

Description

The Consent Popup provides a configurable popup that requires acceptance of a question before the visitor can continue, typically used for age consent.

The module doesn't sufficiently sanitizes the text on the block leading to a cross site scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission to create blocks.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/consent_popup < 1.0.3 1.0.3 DRUPAL-CONTRIB-2023-017

References