Description
The Snillrik Restaurant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'menu_style' shortcode attribute in all versions up to, and including, 2.2.1 due to insufficient input sanitization and output 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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2026-01-06: | Disclosed |
Credits
zakaria
References
www.wordfence.com/...-6816-423d-ab3a-6b5b2ff21e03?source=cve
plugins.trac.wordpress.org/...u/trunk/classes/shortcodes.php
plugins.trac.wordpress.org/...s/2.2.1/classes/shortcodes.php