CVE-2025-48914
JSON

8.6high

COOKiES Consent Management - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-075

Severity
8.6high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
DRUPAL-CONTRIB-2025-075

Description

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

Affected

Product or packageVersionsReported by
Drupal COOKiES Consent Managementfrom 0.0.0 before 1.2.15CVE List
drupal/cookies (Packagist:https://packages.drupal.org/8)before 1.2.15Drupal Security Team
drupal cookies_consent_managementbefore 1.2.15NVD

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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

Drupal Security Team

This module provides a format filter, which allows you to "disable" certain HTML elements (e.g. remove their src attribute) specified by the user. These elements will be enabled again, once the COOKiES banner is accepted.

The module doesn't sufficiently check whether to convert "data-src" attributes to "src" when their value might contain malicious content under the scenario, that module specific classes are set on the HTML element.

This vulnerability is mitigated by the fact that the site must have the COOKiES filter submodule enabled and an attacker must have the correct permissions to have a specific HTML element display for all users, and this HTML element needs to have three concise classes set.

NVD (es)

La vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal COOKiES Consent Management permite Cross-Site Scripting (XSS). Este problema afecta a COOKiES Consent Management: desde la versión 0.0.0 hasta la 1.2.15.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-48914 changed 2025-06-13CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2025-075 changed 2026-09-10MIT
NVDCVE-2025-48914 changed 2026-06-17Public domain