Five Star Restaurant Menu <= 2.5.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'menu_prostyle' Shortcode Attribute
- ID
- WPSEC-2026-0095
- Plugin
- Five Star Restaurant Menu and Food Ordering (food-and-drink-menu)
- Affected
- from 2.4.15 before 2.6.0
- Remediation
- Update to 2.6.0 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 Low · Affected versions None seen among sites WPSec scans, 2026-10-22
- Attack surface
- Five Star Restaurant Menu on WPSec AttackSurface
- Fix released
- Published
Description
The Five Star Restaurant Menu and Food Ordering plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'menu_prostyle' attribute of the 'fdm-menu' shortcode in versions 2.4.15 up to, and including, 2.5.4. The attribute value is written into the menu's HTML class attribute by fdm_format_classes() with no sanitization or escaping. 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. Exploitation requires the premium styling feature to be active.
References
- https://wpsec.com/vuln/WPSEC-2026-0095/
- https://plugins.svn.wordpress.org/food-and-drink-menu/tags/2.6.0/
- https://wordpress.org/plugins/food-and-drink-menu/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS