# 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 age consent

- Database: Drupal
- Published: 2023-05-31
- Modified: 2026-09-10

## Affected versions

- drupal/consent\_popup (Packagist): fixed in 1.0.3

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

## References

- https://www.drupal.org/sa-contrib-2023-017

Page: https://cve.now/DRUPAL-CONTRIB-2023-017

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
