CVE-2025-57968

7.1 HIGH

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users through improper input sanitization in the VikRestaurants WordPress plugin. It affects all WordPress sites using VikRestaurants Table Reservations and Take-Away plugin versions up to 1.4. Attackers can execute arbitrary JavaScript in victims' browsers when they visit specially crafted URLs.

💻 Affected Systems

Products:
  • VikRestaurants Table Reservations and Take-Away WordPress plugin
Versions: n/a through 1.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable plugin versions are affected regardless of configuration.

⚠️ 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.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal session cookies, perform actions as authenticated users, redirect to malicious sites, or install malware on visitors' systems.

🟠

Likely Case

Session hijacking, credential theft, defacement of website content, or redirection to phishing pages.

🟢

If Mitigated

Limited to script execution in victim's browser context without server compromise.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Reflected XSS typically requires user interaction but is easily weaponized in phishing campaigns.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/vikrestaurants/vulnerability/wordpress-vikrestaurants-table-reservations-and-take-away-plugin-1-4-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find VikRestaurants plugin. 4. Click 'Update Now' if update available. 5. If no update, manually download version 1.5+ from WordPress repository. 6. Deactivate old plugin. 7. Upload new version. 8. Activate plugin.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the VikRestaurants plugin until patched

wp plugin deactivate vikrestaurants

Implement WAF rules

all

Add XSS protection rules to web application firewall

🧯 If You Can't Patch

  • Implement Content Security Policy (CSP) headers to restrict script execution
  • Use input validation filters on all user-controllable parameters

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for VikRestaurants version

Check Version:

wp plugin get vikrestaurants --field=version

Verify Fix Applied:

Verify plugin version is 1.5 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET/POST requests with script tags in parameters
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • HTTP requests containing <script> tags or javascript: URIs in query parameters

SIEM Query:

web_requests WHERE url CONTAINS '<script>' OR url CONTAINS 'javascript:'

🔗 References

📤 Share & Export