ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-032

Details

The IframeConsent element writes HTML attributes without escaping their value.

This module has a XSS vulnerability. If an attacker is able to write an <iframe-consent> tag, they may be able to insert arbitrary JavaScript.

This vulnerability is mitigated by the fact that a text format that allows iframe-consent HTML tags with alt attributes in the necessary option (*Enable JS Iframe consent*) must be enabled, and an attacker must have a role allowing the creation or modification of content in a field with text the format.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/orejime
All versions before 2.0.16 (fixed in 2.0.16)

References