# DRUPAL-CONTRIB-2026-209: This module enables you to add HTML attributes to menu links and their container elements (\<li\>)

- Database: Drupal
- Published: 2026-10-07
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-107306](https://cve.now/CVE-2026-107306.md): Menu Link Attributes - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-209

## Affected versions

- drupal/menu\_link\_attributes (Packagist): fixed in 1.8.0

## Description

This module enables you to add HTML attributes to menu links and their container elements (`<li>`).

The module doesn't sufficiently sanitize the attributes it applies to menu link container elements.

This vulnerability is mitigated by the fact that an attacker must have a role with the permissions "*Administer menus and menu links*" and "*Use menu link attributes*". In addition, an unsafe container attribute must already be configured by a user with the restricted permission "*Administer menu link attributes*". The default configuration is not affected.

## References

- https://www.drupal.org/sa-contrib-2026-209

Page: https://cve.now/DRUPAL-CONTRIB-2026-209

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
