DRUPAL-CONTRIB-2023-021 CivicCookieControl is a module that can help make a website compliant with EU and UK cookie legislation.
An attacker with admin permissions can inject malicious scripts via unsanitized configuration, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is DRUPAL-CONTRIB-2023-021?
DRUPAL-CONTRIB-2023-021 is a cross-site scripting vulnerability in drupal/civicccookiecontrol, published on 21 Jun 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
CivicCookieControl is a module that can help make a website compliant with EU and UK cookie legislation.
The Civic GovUK Cookie Control module does not sufficiently sanitize the configuration resulting in a Cross-Site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that the attacker must have a role with the "Administer Civic Cookie Control" permission.
Which versions are affected by DRUPAL-CONTRIB-2023-021?
Linux distribution packages (1)
drupal/civicccookiecontrol Packagist:https://packages.drupal.org/8 | All versions | 4.4.13 |
How do I fix DRUPAL-CONTRIB-2023-021?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is DRUPAL-CONTRIB-2023-021 being exploited?
There is no known exploitation of DRUPAL-CONTRIB-2023-021 in the wild and no public exploit code.