CVE-2025-30766

6.5 MEDIUM

📋 TL;DR

This DOM-based cross-site scripting (XSS) vulnerability in Happy Addons for Elementor allows attackers to inject malicious scripts into web pages viewed by other users. It affects WordPress sites using the Happy Addons plugin from all versions up to 3.16.2. Attackers can steal session cookies, redirect users, or perform actions on their behalf.

💻 Affected Systems

Products:
  • Happy Addons for Elementor WordPress plugin
Versions: All versions up to and including 3.16.2
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with Elementor page builder and Happy Addons plugin installed. Vulnerability is present in default configurations.

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

Complete account takeover, session hijacking, credential theft, and unauthorized administrative actions on affected WordPress sites.

🟠

Likely Case

Session cookie theft leading to unauthorized access, defacement of website content, or redirection to malicious sites.

🟢

If Mitigated

Limited impact if proper Content Security Policy (CSP) headers are implemented and user input validation is enforced elsewhere.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

DOM-based XSS vulnerabilities are relatively easy to exploit once the attack vector is identified. Public proof-of-concept details are available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.16.3 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/happy-elementor-addons/vulnerability/wordpress-happy-addons-for-elementor-3-16-2-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 'Happy Addons for Elementor'. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 3.16.3+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the vulnerable plugin until patched version can be installed

wp plugin deactivate happy-elementor-addons

Content Security Policy Implementation

all

Implement strict CSP headers to mitigate XSS attacks

Add 'Content-Security-Policy: default-src 'self'; script-src 'self'' to web server configuration

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Disable or restrict user input fields that could be attack vectors

🔍 How to Verify

Check if Vulnerable:

Check WordPress plugin version in admin panel or use: wp plugin list --name=happy-elementor-addons --field=version

Check Version:

wp plugin list --name=happy-elementor-addons --field=version

Verify Fix Applied:

Confirm plugin version is 3.16.3 or higher using same command

📡 Detection & Monitoring

Log Indicators:

  • Unusual JavaScript payloads in request logs
  • Multiple failed XSS attempts
  • Suspicious user-agent strings containing script tags

Network Indicators:

  • HTTP requests containing script tags or JavaScript events in parameters
  • Unusual outbound connections after page loads

SIEM Query:

source="web_logs" AND ("<script" OR "javascript:" OR "onerror=" OR "onload=") AND uri_path="*elementor*"

🔗 References

📤 Share & Export