CVE-2025-7392 Cookies Addons - Moderately critical - Cross-site Scripting - SA-CONTRIB-2025-087

Medium 6.1 Published Updated

Cross-site scripting vulnerability in Drupal Cookies Addons allows attackers to inject malicious scripts into web pages viewed by other users.

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

What is CVE-2025-7392?

CVE-2025-7392 is a medium-severity cross-site scripting vulnerability in Drupal Cookies Addons, published on 21 Jul 2025. An attacker can exploit it over the internet without logging in, 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 Cookies Addons allows Cross-Site Scripting (XSS).This issue affects Cookies Addons: from 1.0.0 before 1.2.4.

Weakness: CWE-79

Which versions are affected by CVE-2025-7392?

It affects 1 product.

Linux distribution packages (1)
drupal/cookies_addons Packagist:https://packages.drupal.org/8From 1.0.01.2.4

Products include Cookies Addons Project Cookies Addons.

How do I fix CVE-2025-7392?

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-7392 being exploited?

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

Sources

Also known as DRUPAL-CONTRIB-2025-087, GHSA-m2cg-742r-x89v.

Is CVE-2025-7392 in your software?

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

Check your SBOMs for free