CVE-2025-28878

5.9 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the Awesome Surveys WordPress plugin allows attackers to inject malicious scripts into web pages that are then executed when other users view those pages. All WordPress sites running Awesome Surveys versions up to and including 2.0.10 are affected. The vulnerability enables attackers to steal session cookies, redirect users, or perform actions on their behalf.

💻 Affected Systems

Products:
  • Awesome Surveys WordPress Plugin
Versions: n/a through 2.0.10
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with the vulnerable plugin versions are affected regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, take over WordPress sites, install backdoors, deface websites, or redirect users to malicious sites, potentially leading to complete site compromise and data theft.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, potentially compromising user accounts and performing unauthorized actions within the WordPress dashboard.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users, preventing any exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Stored XSS vulnerabilities in WordPress plugins are commonly exploited. While no public PoC is confirmed, exploitation is straightforward once the vulnerability details are understood.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.0.11 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/awesome-surveys/vulnerability/wordpress-awesome-surveys-plugin-2-0-10-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin dashboard. 2. Navigate to Plugins → Installed Plugins. 3. Find Awesome Surveys plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 2.0.11+ from WordPress.org and manually update.

🔧 Temporary Workarounds

Disable Awesome Surveys Plugin

all

Temporarily deactivate the plugin until patched

wp plugin deactivate awesome-surveys

Implement Content Security Policy

all

Add CSP headers to mitigate XSS impact

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to wp-config.php: header("Content-Security-Policy: default-src 'self'; script-src 'self'");

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Restrict plugin access to trusted users only using WordPress role capabilities

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin dashboard → Plugins → Installed Plugins → Awesome Surveys version. If version is 2.0.10 or earlier, you are vulnerable.

Check Version:

wp plugin get awesome-surveys --field=version

Verify Fix Applied:

After updating, verify Awesome Surveys version is 2.0.11 or later in WordPress plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to survey submission endpoints
  • JavaScript payloads in survey form submissions
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • Suspicious JavaScript in HTTP POST bodies to survey endpoints
  • Unexpected external script loads from survey pages

SIEM Query:

source="web_server" AND (http_method="POST" AND uri_path="/wp-admin/admin-ajax.php" AND (body="<script>" OR body="javascript:" OR body="onerror="))

🔗 References

📤 Share & Export