CVE-2026-16132
Drupal Icon API (Icon API: Menu) Stored XSS via unsanitized Title Wrapper Class
- Severity
- medium CVSS 5.1 (v4.0)
- Affects
- Icon API · Drupal
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Published
- 20 November 2026 by drupal
A stored cross-site scripting (XSS) vulnerability exists in the Icon API: Menu submodule of the Drupal 7 Icon API module. When a menu item is configured with the Title Wrapper option enabled, the value of the Title Wrapper Class field is output directly into an HTML attribute without sanitization or escaping. A user with the "administer menu icons" permission can inject a payload such as `title" onmouseover="alert(document.cookie)` that is rendered verbatim on every page displaying the affected menu item, executing arbitrary JavaScript in the browser of any user who interacts with the menu link. This can lead to session theft, account hijacking, and further attacks against site users.
This issue affects Icon API 7.1.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.