CVE-2025-67922

6.1 MEDIUM

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages generated by the Grand Restaurant WordPress theme. When users visit a specially crafted URL, their browsers execute the attacker's code. All WordPress sites using Grand Restaurant theme versions below 7.0.9 are affected.

💻 Affected Systems

Products:
  • ThemeGoods Grand Restaurant WordPress Theme
Versions: All versions before 7.0.9
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the Grand Restaurant theme active.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal session cookies, redirect users to malicious sites, deface websites, or perform actions on behalf of authenticated users.

🟠

Likely Case

Attackers typically use this to steal session cookies or redirect users to phishing pages, potentially compromising user accounts.

🟢

If Mitigated

With proper input validation and output encoding, the malicious scripts would be rendered harmless as text rather than executable code.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Reflected XSS vulnerabilities are commonly exploited and require minimal technical skill.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 7.0.9

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/grandrestaurant/vulnerability/wordpress-grand-restaurant-theme-7-0-9-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Find Grand Restaurant theme. 4. Click 'Update Now' if update is available. 5. If manual update needed, download version 7.0.9 from ThemeGoods, upload via FTP, and activate.

🔧 Temporary Workarounds

Input Validation Filter

all

Add custom input validation to sanitize all user inputs before processing.

Add sanitization functions like esc_html(), esc_attr(), or wp_kses() to theme template files where user input is displayed.

Content Security Policy

all

Implement CSP headers to restrict script execution sources.

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or add to WordPress functions.php: header("Content-Security-Policy: default-src 'self'; script-src 'self'");

🧯 If You Can't Patch

  • Switch to a different WordPress theme temporarily.
  • Implement a Web Application Firewall (WAF) with XSS protection rules.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for Grand Restaurant theme version. If version is below 7.0.9, you are vulnerable.

Check Version:

In WordPress admin: Appearance > Themes, or check style.css in theme directory for Version: line.

Verify Fix Applied:

After updating, verify theme version shows 7.0.9 in WordPress admin. Test with XSS payloads like <script>alert('test')</script> in URL parameters to ensure they are properly sanitized.

📡 Detection & Monitoring

Log Indicators:

  • Unusual long URLs with script tags in access logs
  • Multiple requests with similar malicious patterns from single IPs

Network Indicators:

  • HTTP requests containing <script> tags or JavaScript in query parameters
  • Unexpected redirects to external domains

SIEM Query:

source="web_access_logs" AND (url="*<script>*" OR url="*javascript:*" OR url="*onload=*" OR url="*onerror=*")

🔗 References

📤 Share & Export