CVE-2025-48914: DRUPAL-CONTRIB-2025-075 - This module provides a format filter, which allows you to "disable" certain HTML elements…

CVE-2025-48914 · Severity: info · Published 2025-05-28

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.

Technologies: Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies. Vendors: Packagist:Https://Packages.Drupal.Org/8.

Quick answers

Is CVE-2025-48914 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-48914 being exploited in the wild.
How severe is CVE-2025-48914?
Informational severity, published 28 May 2025.
Which products and versions are affected?
Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies ECOSYSTEM:introduced=0,fixed=1.2.15.
Is there a fix for CVE-2025-48914?
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies: upgrade to 1.2.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-48914?
Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies: upgrade to 1.2.15 or later

Affected products

  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies ECOSYSTEM:introduced=0,fixed=1.2.15

Identifiers

  • CVE-2025-48914
  • DRUPAL-CONTRIB-2025-075

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.