Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-58812 Overview
CVE-2025-58812 is a stored Cross-Site Scripting (XSS) vulnerability in the Best Restaurant Menu by PriceListo WordPress plugin. The flaw affects all plugin versions up to and including 1.4.3. It stems from improper neutralization of user-supplied input during web page generation, classified as [CWE-79].
Authenticated attackers with low privileges can inject malicious scripts that persist in the database. When other users, including administrators, view the affected pages, the payload executes in their browser context. Successful exploitation requires user interaction and results in a scope change, allowing impact beyond the vulnerable component.
Critical Impact
Stored XSS enables session hijacking, credential theft, and administrative account takeover in WordPress sites running Best Restaurant Menu by PriceListo through version 1.4.3.
Affected Products
- Best Restaurant Menu by PriceListo WordPress plugin (best-restaurant-menu-by-pricelisto)
- All versions from initial release through version 1.4.3
- WordPress sites with the plugin installed and activated
Discovery Timeline
- 2025-09-05 - CVE CVE-2025-58812 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-58812
Vulnerability Analysis
The vulnerability is a stored XSS flaw in the Best Restaurant Menu by PriceListo plugin. The plugin fails to properly sanitize and escape user-controlled input before rendering it in HTML output. Malicious JavaScript submitted through plugin inputs is stored in the WordPress database.
When the affected pages load, the browser interprets the stored payload as executable script. The attack proceeds under the security context of the victim's browser session. Because the CVSS scope is changed, impact extends beyond the plugin to the broader WordPress environment, including administrator accounts and site cookies.
Remediation requires either upgrading beyond version 1.4.3 when a fix is released or removing the plugin until a patched version is available.
Root Cause
The root cause is missing output encoding and input sanitization in plugin code paths that accept user input. WordPress provides functions such as esc_html(), esc_attr(), wp_kses_post(), and sanitize_text_field() for safe input handling. The plugin does not apply these routines consistently, allowing raw HTML and script tags to flow into rendered pages.
Attack Vector
An authenticated user with contributor-level or higher privileges submits crafted input containing JavaScript through a plugin field. The payload is persisted server-side. When an administrator or another user views the page displaying the stored data, the script executes. The attacker can then perform actions such as stealing session cookies, injecting rogue administrator accounts, or redirecting users to attacker-controlled infrastructure.
The vulnerability mechanism is documented in the Patchstack XSS Vulnerability Report. No verified proof-of-concept code has been published.
Detection Methods for CVE-2025-58812
Indicators of Compromise
- Unexpected <script>, <iframe>, or event handler attributes (for example onerror, onload) stored in WordPress wp_posts or plugin-specific tables.
- Outbound HTTP requests from administrator browsers to unknown domains shortly after loading menu-related admin pages.
- Creation of new administrator accounts or modification of user roles without corresponding admin activity in audit logs.
Detection Strategies
- Audit database tables associated with the Best Restaurant Menu by PriceListo plugin for HTML tags, JavaScript keywords, or encoded payloads.
- Deploy a Web Application Firewall (WAF) with signatures for stored XSS patterns targeting WordPress plugins.
- Monitor administrative page rendering with Content Security Policy (CSP) violation reporting to detect script execution from unexpected sources.
Monitoring Recommendations
- Forward WordPress access logs and PHP error logs to a centralized analytics platform for correlation.
- Alert on unusual POST requests from low-privilege authenticated users to plugin endpoints.
- Track browser telemetry from administrator sessions for anomalous script execution or DOM modifications on menu pages.
How to Mitigate CVE-2025-58812
Immediate Actions Required
- Deactivate the Best Restaurant Menu by PriceListo plugin until a patched release is published.
- Restrict contributor and higher-privilege account creation and audit existing accounts for unauthorized additions.
- Rotate WordPress administrator credentials and invalidate active sessions if the plugin was previously enabled.
Patch Information
As of the last NVD update on 2026-06-17, no fixed version beyond 1.4.3 is referenced in the enriched CVE data. Monitor the Patchstack advisory and the plugin's WordPress.org listing for release notes indicating a patched version.
Workarounds
- Remove the plugin from production WordPress installations until a fix is verified.
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
- Apply a virtual patch through a WAF rule blocking script tags and JavaScript event handlers in requests targeting plugin endpoints.
# Example WordPress CLI commands to disable the vulnerable plugin
wp plugin deactivate best-restaurant-menu-by-pricelisto
wp plugin uninstall best-restaurant-menu-by-pricelisto
# Search the database for stored script payloads
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%<script%';"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

