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-2026-94161 Overview
CVE-2026-94161 is a reflected Cross-Site Scripting (XSS) vulnerability [CWE-79] in the ThemeGoods Grand Restaurant WordPress theme. The flaw affects all versions of grandrestaurant prior to 7.0.11. Attackers can craft malicious URLs that inject JavaScript into pages rendered by the theme. Successful exploitation requires a victim to click the crafted link, after which the payload executes in the victim's browser session.
Critical Impact
Reflected XSS in the Grand Restaurant theme allows attackers to execute arbitrary JavaScript in visitor browsers, enabling session theft, credential harvesting, and administrative account takeover when triggered against authenticated site operators.
Affected Products
- ThemeGoods Grand Restaurant WordPress theme (grandrestaurant)
- All versions prior to 7.0.11
- WordPress installations using the vulnerable theme
Discovery Timeline
- 2026-10-09 - CVE CVE-2026-94161 published to NVD
- 2026-10-09 - Last updated in NVD database
Technical Details for CVE-2026-94161
Vulnerability Analysis
The Grand Restaurant theme fails to properly neutralize user-supplied input before reflecting it in HTTP responses. This behavior maps to CWE-79, Improper Neutralization of Input During Web Page Generation. An attacker constructs a URL containing JavaScript payloads within request parameters processed by the theme. When a user loads the URL, the server echoes the unsanitized input into the HTML response, and the browser executes the injected script in the context of the WordPress site.
The scope is marked as changed, meaning the injected script can affect resources beyond the vulnerable component itself. For WordPress sites, this includes access to session cookies, administrative interfaces, and any content rendered within the authenticated DOM.
Root Cause
The root cause is missing or insufficient output encoding on request parameters consumed by the theme's PHP templates. Input taken from the query string, referer, or other request vectors is placed into HTML, attribute, or JavaScript contexts without context-aware escaping functions such as esc_html(), esc_attr(), or esc_js().
Attack Vector
Exploitation occurs over the network and requires user interaction. An attacker distributes a crafted link through phishing, forum posts, or malicious advertising. When a target visits the link on a site running the vulnerable theme, the injected payload executes with the privileges of the current browser session. Payloads targeting authenticated administrators can hijack sessions, create backdoor accounts, or modify theme and plugin files. Refer to the Patchstack WordPress Vulnerability Report for additional technical context.
Detection Methods for CVE-2026-94161
Indicators of Compromise
- Web server access logs containing request parameters with <script>, javascript:, onerror=, or onload= substrings directed at pages served by the Grand Restaurant theme.
- Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after clicking external links.
- Creation of unknown WordPress administrator accounts or unauthorized modifications to theme files following administrator browsing activity.
Detection Strategies
- Deploy a web application firewall (WAF) ruleset that inspects query strings and POST bodies for XSS signatures targeting WordPress theme endpoints.
- Enable WordPress audit logging to capture user, role, and content changes that correlate with suspicious browser activity.
- Monitor Content Security Policy (CSP) violation reports to surface attempts to execute inline scripts or load external payloads.
Monitoring Recommendations
- Correlate web server logs with authentication events to identify sessions used immediately after a reflected payload would have fired.
- Alert on administrator accounts created outside approved change windows or without a corresponding provisioning ticket.
- Review installed theme versions across managed WordPress sites and flag any instance of grandrestaurant below 7.0.11.
How to Mitigate CVE-2026-94161
Immediate Actions Required
- Update the Grand Restaurant theme to version 7.0.11 or later on every affected WordPress site.
- Invalidate active administrator sessions and rotate passwords for privileged accounts if exploitation is suspected.
- Audit WordPress user accounts and remove any administrators that cannot be attributed to a legitimate operator.
Patch Information
The vendor addressed CVE-2026-94161 in Grand Restaurant version 7.0.11. Upgrade through the WordPress theme updater or by replacing the theme directory with the patched release. Review the Patchstack advisory for the authoritative fix reference.
Workarounds
- Deploy a WAF rule that blocks requests containing XSS payloads targeting theme-handled parameters until the update is applied.
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
- Restrict administrative access to the WordPress dashboard by IP allowlisting to reduce exposure to phishing-driven exploitation.
# Configuration example: upgrade the Grand Restaurant theme via WP-CLI
wp theme update grandrestaurant --version=7.0.11
wp theme list --name=grandrestaurant --fields=name,version,status
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

