drupal/menu_link_attributes — security advisory
This module enables you to add HTML attributes to menu links and their container elements (``). 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.
- Products
- drupal/menu_link_attributes
- Affected versions
- Not specified
- Fixed versions
- 1.8.0
- CVEs
- CVE-2026-107306
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 08:47 UTC · Revision 1
Source evidence
This module enables you to add HTML attributes to menu links and their container elements (``). 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.
osv:DRUPAL-CONTRIB-2026-209
drupal/menu_link_attributes
Fixed versions: 1.8.0
Complete source record
{
"id": "d4dc7dacca1e372d41a92c8831c28109c0046dda1be6cb07b83b491875921f1b",
"url": "https://osv.dev/vulnerability/DRUPAL-CONTRIB-2026-209",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DRUPAL-CONTRIB-2026-209",
"summary": "This module enables you to add HTML attributes to menu links and their container elements (``). 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.",
"evidence": "osv:DRUPAL-CONTRIB-2026-209",
"products": [
{
"name": {
"value": "drupal/menu_link_attributes",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.8.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DRUPAL-CONTRIB-2026-209",
"aliases": [
"CVE-2026-107306",
"DRUPAL-CONTRIB-2026-209"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.0"
}
],
"database_specific": {
"constraint": "<1.8.0"
}
}
],
"package": {
"name": "drupal/menu_link_attributes",
"purl": "pkg:composer/drupal/menu_link_attributes?repository_url=https:%2F%2Fpackages.drupal.org%2F8",
"ecosystem": "Packagist:https://packages.drupal.org/8"
},
"database_specific": {
"source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/menu_link_attributes/DRUPAL-CONTRIB-2026-209.json",
"affected_versions": "<1.8.0"
}
}
],
"modified": "2026-10-07T20:15:06.831961183Z",
"provider": "osv",
"references": [
"https://www.drupal.org/sa-contrib-2026-209"
]
},
"related_cves": [
{
"value": "CVE-2026-107306",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 97213,
"published_at": "2026-10-07T16:34:32+00:00"
}