CVE-2025-57962

5.9 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the VikRestaurants WordPress plugin allows attackers to inject malicious scripts into web pages. When exploited, these scripts execute in victims' browsers, potentially stealing session cookies or performing actions on their behalf. All WordPress sites using VikRestaurants Table Reservations and Take-Away plugin versions up to 1.4 are affected.

💻 Affected Systems

Products:
  • VikRestaurants Table Reservations and Take-Away WordPress plugin
Versions: All versions up to and including 1.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the vulnerable plugin to be installed and activated on WordPress sites.

⚠️ 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 administrator session cookies, take over WordPress sites, deface websites, or redirect visitors to malicious sites.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies or credentials, potentially compromising user accounts.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires the ability to inject malicious payloads into stored content that gets rendered without proper sanitization.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.4

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-2?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find VikRestaurants Table Reservations and Take-Away. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and remove the plugin.

🔧 Temporary Workarounds

Input Validation and Output Encoding

all

Implement proper input validation and output encoding in custom code that interacts with the plugin.

🧯 If You Can't Patch

  • Disable or remove the VikRestaurants plugin from production sites.
  • Implement a web application firewall (WAF) with XSS protection rules.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for VikRestaurants Table Reservations and Take-Away version 1.4 or earlier.

Check Version:

wp plugin list --name=vikrestaurants --field=version

Verify Fix Applied:

Verify plugin version is greater than 1.4 after update, or confirm plugin is removed from site.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to VikRestaurants plugin endpoints containing script tags or JavaScript code
  • Multiple failed attempts to access admin functions from new IP addresses

Network Indicators:

  • HTTP requests containing malicious script payloads in parameters
  • Unexpected outbound connections from WordPress site to external domains

SIEM Query:

source="wordpress.log" AND ("vikrestaurants" OR "VikRestaurants") AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")

🔗 References

📤 Share & Export