drupal/tb_megamenu - SA-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 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/tb_megamenu | < 1.4.0 | 1.4.0 |
| Drupal module | drupal/tb_megamenu | < 1.4.0 | 1.4.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/tb_megamenu- Disclosed
- 22.09.2021
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2021-038 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/tb_megamenu
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 09.2021 09.2021
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 4
Disclosures per year
- 2021: 4
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
drupal/tb_megamenu - SA-CONTRIB-2021-038 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.