Description
The Happy Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ha_page_custom_js' parameter in all versions up to, and including, 3.20.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, despite the intended role restriction of Custom JS to Administrators.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2025-12-13: | Vendor Notified |
| 2025-12-22: | Disclosed |
Credits
D.Sim
References
www.wordfence.com/...-68ab-4dd6-bd80-252622cfe705?source=cve
plugins.trac.wordpress.org/....20.2/extensions/custom-js.php
plugins.trac.wordpress.org/....20.2/extensions/custom-js.php
plugins.trac.wordpress.org/changeset/3421733/
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.