# HappyAddons for Elementor – 160 Elementor Widgets, GSAP Animations & Templates <= 3.50.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Page Custom JS

- **ID:** WPSEC-2026-1808
- **Plugin:** HappyAddons for Elementor – 160 Elementor Widgets, GSAP Animations & Templates (`happy-elementor-addons`), https://wordpress.org/plugins/happy-elementor-addons/
- **Affected versions:** all versions before 3.51.0
- **Fixed in:** 3.51.0 (Update to 3.51.0 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-10-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/happy-elementor-addons
- **Fix released:** 2026-10-27
- **Published:** 2026-10-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1808/

## Description

The HappyAddons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the page custom JS setting (ha_page_custom_js) in all versions up to, and including, 3.50.1, due to the restriction on this setting being enforced only in the Elementor document save filter. Other writes to the _elementor_page_settings post meta, such as the WordPress REST API post meta field, were not checked, and the stored script was output on the front end as an inline script without checking that its author may write unfiltered HTML. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-1808/
- https://plugins.svn.wordpress.org/happy-elementor-addons/tags/3.51.0/
- https://wordpress.org/plugins/happy-elementor-addons/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1808/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
