CVE-2025-14635
📋 TL;DR
The Happy Addons for Elementor WordPress plugin has a stored XSS vulnerability in the 'ha_page_custom_js' parameter. Authenticated attackers with Contributor-level access or higher can inject malicious scripts that execute when users view affected pages. This bypasses the intended Administrator-only restriction for custom JavaScript.
💻 Affected Systems
- Happy Addons for Elementor WordPress plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers with contributor accounts inject malicious scripts to steal user session cookies or perform phishing attacks against site visitors.
If Mitigated
With proper input validation and output escaping, scripts are neutralized and rendered harmless as text rather than executable code.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple once an attacker has contributor-level credentials.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.20.4 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3421733/
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 available. 5. Alternatively, download latest version from WordPress repository and manually update.
🔧 Temporary Workarounds
Restrict Contributor Access
allTemporarily remove contributor-level access until patch is applied
Disable Custom JS Feature
allDisable the vulnerable custom JavaScript extension in plugin settings
🧯 If You Can't Patch
- Implement strict Content Security Policy (CSP) headers to restrict script execution
- Use web application firewall (WAF) rules to block XSS payloads targeting the ha_page_custom_js parameter
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for Happy Addons for Elementor version. If version is 3.20.3 or lower, you are vulnerable.
Check Version:
wp plugin list --name='happy-elementor-addons' --field=version
Verify Fix Applied:
After updating, verify plugin version is 3.20.4 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to wp-admin containing ha_page_custom_js parameter with script tags
- Multiple failed login attempts followed by successful contributor-level login
Network Indicators:
- Inbound requests to WordPress admin endpoints from unexpected IPs
- Outbound connections to suspicious domains after page views
SIEM Query:
source="wordpress.log" AND ("ha_page_custom_js" AND ("script" OR "javascript:" OR "onload=" OR "onerror="))
🔗 References
- https://plugins.trac.wordpress.org/browser/happy-elementor-addons/tags/3.20.2/extensions/custom-js.php#L60
- https://plugins.trac.wordpress.org/browser/happy-elementor-addons/tags/3.20.2/extensions/custom-js.php#L76
- https://plugins.trac.wordpress.org/changeset/3421733/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/16e7adef-68ab-4dd6-bd80-252622cfe705?source=cve