CVE-2025-5682 Klaro Cookie & Consent Management - Moderately critical - Cross-site Scripting - SA-CONTRIB-2025-080

Medium 4.3 Published Updated

An attacker can inject malicious scripts into pages via the Klaro Cookie & Consent Management module, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-5682?

CVE-2025-5682 is a medium-severity cross-site scripting vulnerability in Drupal Klaro Cookie & Consent Management, published on 26 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Klaro Cookie & Consent Management allows Cross-Site Scripting (XSS).This issue affects Klaro Cookie & Consent Management: from 0.0.0 before 3.0.7.

Weakness: CWE-79

Which versions are affected by CVE-2025-5682?

It affects 1 product.

Linux distribution packages (1)
drupal/klaro Packagist:https://packages.drupal.org/8All versions3.0.7

Products include Klaro Cookie \& Consent Management Project Klaro Cookie \& Consent Management.

How do I fix CVE-2025-5682?

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-2025-5682 being exploited?

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

Sources

Also known as DRUPAL-CONTRIB-2025-080, GHSA-2vww-xx9q-5hxm.

Is CVE-2025-5682 in your software?

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

Check your SBOMs for free