Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2021-038

This module provides an admin interface for creating drop down menus that combine Drupal menu items with rich media content. The module doe…

Published Sep 22, 2021 · Updated Sep 10, 2026 · Assigned by DRUPAL

Description

This module provides an admin interface for creating drop down menus that combine Drupal menu items with rich media content.

The module does not sanitize values for CSS properties that are added by admins and rendered on the front-end, allowing attackers to inject malicious code into the front-end markup.

This vulnerability is mitigated by the fact that it can only be exploited by an attacker with permissions to administer TB Mega Menu, or a sophisticated anonymous user using a site-specific attack that exploits the Cross Site Request Forgery vulnerability that is fixed by this same release.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/tb_megamenu < 1.4.0 1.4.0 DRUPAL-CONTRIB-2021-038

References