CVE-2026-42709 Overview
CVE-2026-42709 is an unauthenticated Cross-Site Scripting (XSS) vulnerability affecting the Food Menu – Restaurant Menu & Online Ordering for WooCommerce WordPress plugin in versions up to and including 6.0.5. The flaw is classified under CWE-79, Improper Neutralization of Input During Web Page Generation. Attackers can inject malicious script content that executes in a victim's browser when a user interacts with a crafted link or page. Because exploitation requires no authentication, any remote actor can target site visitors or administrators of vulnerable WooCommerce storefronts.
Critical Impact
Successful exploitation allows arbitrary JavaScript execution in a victim's browser session, enabling session hijacking, administrative action abuse, and client-side redirection to attacker-controlled infrastructure.
Affected Products
- Food Menu – Restaurant Menu & Online Ordering for WooCommerce (tlp-food-menu) versions <= 6.0.5
- WordPress installations running the vulnerable plugin
- WooCommerce storefronts using this plugin for menu rendering and order flows
Discovery Timeline
- 2026-10-10 - CVE-2026-42709 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-42709
Vulnerability Analysis
The vulnerability is a reflected or stored Cross-Site Scripting flaw in the Food Menu plugin's handling of user-supplied input. The plugin fails to properly neutralize input before including it in web page output rendered to users. User interaction is required for exploitation, consistent with reflected XSS delivery through a crafted URL or form submission.
The scope of the vulnerability is changed, indicating that script execution within the vulnerable plugin context can impact resources beyond its own security boundary. This allows attackers to perform actions as the victim within the WordPress or WooCommerce administrative scope if an authenticated admin triggers the payload.
Root Cause
The root cause is missing or insufficient output encoding and input sanitization within the tlp-food-menu plugin code paths that reflect request parameters back into HTML responses. Input flows through a rendering function without applying WordPress sanitization helpers such as esc_html(), esc_attr(), or wp_kses(), allowing raw <script> tags or event handler attributes to persist in generated markup.
Attack Vector
An attacker crafts a URL containing a malicious JavaScript payload in a vulnerable parameter processed by the plugin. The attacker then delivers the link through phishing, social engineering, or a malicious referrer. When a user, typically a site administrator or logged-in customer, loads the crafted URL, the browser executes the injected script in the context of the WooCommerce site. The attacker can exfiltrate session cookies, trigger authenticated requests, or redirect the victim.
No verified exploit code is publicly available for CVE-2026-42709. Refer to the Patchstack XSS Vulnerability Report for additional technical context.
Detection Methods for CVE-2026-42709
Indicators of Compromise
- Web server access logs containing requests to tlp-food-menu endpoints with URL-encoded <script>, onerror=, javascript:, or onload= substrings
- Unexpected outbound requests from administrator browser sessions to unknown third-party domains following WooCommerce admin activity
- WordPress admin accounts exhibiting unauthorized configuration changes, plugin installations, or new administrator user creation
Detection Strategies
- Inspect HTTP request parameters sent to Food Menu plugin routes for HTML tag characters, JavaScript URI schemes, and known XSS payload patterns
- Correlate referrer headers on admin page loads with external untrusted origins to identify phishing-delivered exploitation attempts
- Review stored plugin content, including menu item names and descriptions, for persisted HTML or script content
Monitoring Recommendations
- Enable detailed WordPress audit logging for plugin configuration changes and user role modifications
- Deploy a Web Application Firewall (WAF) with OWASP Core Rule Set signatures tuned for XSS payload detection
- Monitor browser Content Security Policy (CSP) violation reports from the WooCommerce frontend and admin interfaces
How to Mitigate CVE-2026-42709
Immediate Actions Required
- Identify all WordPress sites running the Food Menu – Restaurant Menu & Online Ordering for WooCommerce plugin at version 6.0.5 or earlier
- Update the plugin to the latest patched release provided by the vendor as referenced in the Patchstack advisory
- Rotate administrator session cookies and force re-authentication for all privileged WordPress users
Patch Information
The vulnerability affects tlp-food-menu versions up to and including 6.0.5. Site administrators should upgrade to the fixed version indicated in the vendor advisory tracked by Patchstack. Verify the installed plugin version in the WordPress Plugins dashboard after applying the update.
Workarounds
- Deactivate and remove the Food Menu plugin until a patched version can be installed
- Deploy a WAF rule that blocks requests to plugin endpoints containing XSS payload patterns such as <script, javascript:, or inline event handlers
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
# Example WordPress CLI check for installed plugin version
wp plugin get tlp-food-menu --field=version
# Deactivate the vulnerable plugin pending patch deployment
wp plugin deactivate tlp-food-menu
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

