Max Mega Menu <= 3.10.10 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-mobile-force-width', 'data-panel-width' and 'data-panel-inner-width' Attributes
- ID
- WPSEC-2026-3795
- Plugin
- Max Mega Menu (megamenu)
- Affected
- all versions before 3.10.11
- Remediation
- Update to 3.10.11 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin High · Affected versions High among sites WPSec scans, 2026-11-24
- Attack surface
- Max Mega Menu on WPSec AttackSurface
- Fix released
- Published
Description
The Max Mega Menu plugin for WordPress is vulnerable to DOM-Based Stored Cross-Site Scripting via the 'data-mobile-force-width', 'data-panel-width' and 'data-panel-inner-width' attributes of menu elements in all versions up to, and including, 3.10.10. This is due to the front-end script, loaded on every page, reading these width selectors from the data attributes of any element with the 'max-mega-menu' class and passing them directly to jQuery(), which builds HTML elements when given a value that looks like markup. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
References
- https://wpsec.com/vuln/WPSEC-2026-3795/
- https://plugins.svn.wordpress.org/megamenu/tags/3.10.11/
- https://wordpress.org/plugins/megamenu/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS