CVE-2025-14112
📋 TL;DR
The Snillrik Restaurant plugin for WordPress has a stored cross-site scripting vulnerability in the 'menu_style' shortcode attribute. Authenticated attackers with Contributor-level access or higher can inject malicious scripts that execute when users view affected pages. This affects all WordPress sites using the plugin up to version 2.2.1.
💻 Affected Systems
- Snillrik Restaurant Menu WordPress Plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers with contributor accounts inject malicious scripts to steal user session cookies or display phishing content to visitors.
If Mitigated
With proper user access controls and content security policies, impact is limited to script execution in the context of the vulnerable page.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple once an attacker has contributor privileges.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.2.2 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/snillrik-restaurant-menu
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Snillrik Restaurant Menu' and click 'Update Now'. 4. Verify the plugin version is 2.2.2 or higher.
🔧 Temporary Workarounds
Disable vulnerable shortcode
allRemove or disable the 'menu_style' shortcode attribute usage across the site
Edit WordPress posts/pages to remove [snillrik-restaurant-menu] shortcodes with menu_style attribute
Implement Content Security Policy
allAdd CSP headers to restrict script execution sources
Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or use WordPress security plugins to implement CSP
🧯 If You Can't Patch
- Restrict user roles: Remove Contributor access from untrusted users, only grant to trusted staff
- Implement web application firewall: Deploy WAF rules to block XSS payloads in POST/PUT requests
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for Snillrik Restaurant Menu version 2.2.1 or lower
Check Version:
wp plugin list --name=snillrik-restaurant-menu --field=version
Verify Fix Applied:
Verify plugin version is 2.2.2 or higher in WordPress admin plugins list
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress admin-ajax.php with menu_style parameters containing script tags
- Multiple failed login attempts followed by successful contributor login
Network Indicators:
- Outbound connections to suspicious domains from your WordPress site
- Unusual traffic patterns to pages containing restaurant menu shortcodes
SIEM Query:
source="wordpress.log" AND ("menu_style" AND ("<script" OR "javascript:" OR "onerror="))
🔗 References
- https://plugins.trac.wordpress.org/browser/snillrik-restaurant-menu/tags/2.2.1/classes/shortcodes.php#L42
- https://plugins.trac.wordpress.org/browser/snillrik-restaurant-menu/trunk/classes/shortcodes.php#L42
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5fb52c19-6816-423d-ab3a-6b5b2ff21e03?source=cve