VDB
Sign up
—

DRUPAL-CONTRIB-2026-012

Details

This module allows site builders to create so-called "theme\_rule" config entities. These theme rules can render pages with different themes than the default when certain conditions match.

The module uses simple GET request to disable or enable theme rules, which allows attackers to disable or enable theme rules by tricking site administrators to click on links.

This vulnerability is mitigated by the fact that an attacker must know the machine name of the theme rule.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist:https://packages.drupal.org/8/drupal/theme_rule
Introduced in: 0Fixed in: 1.2.1

Upgrade drupal/theme_rule to 1.2.1 or newer (ecosystem packagist:https://packages.drupal.org/8).

References