CVE-2024-13289 Cookiebot + GTM - Moderately critical - Cross Site Scripting - SA-CONTRIB-2024-055

Medium 5.4 Published Updated

An attacker can inject malicious scripts into web pages via the Drupal Cookiebot + GTM module, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-13289?

CVE-2024-13289 is a medium-severity cross-site scripting vulnerability in Drupal Cookiebot + GTM, published on 9 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Cookiebot + GTM allows Cross-Site Scripting (XSS).This issue affects Cookiebot + GTM: from 0.0.0 before 1.0.18.

Weakness: CWE-79

Which versions are affected by CVE-2024-13289?

It affects 1 product.

Linux distribution packages (1)
drupal/cookiebot_gtm Packagist:https://packages.drupal.org/8All versions1.0.18

Products include Usercentrics Cookiebot \+ Gtm.

How do I fix CVE-2024-13289?

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 CVE-2024-13289 being exploited?

There is no known exploitation of CVE-2024-13289 in the wild and no public exploit code.

Sources

Also known as DRUPAL-CONTRIB-2024-055, GHSA-623r-49cc-q6vj.

Is CVE-2024-13289 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free