# HT Mega Addons for Elementor – Elementor Widgets & Template Builder <= 3.2.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image Magnifier Widget

- **ID:** WPSEC-2026-3962
- **Plugin:** HT Mega Addons for Elementor – Elementor Widgets & Template Builder (`ht-mega-for-elementor`), https://wordpress.org/plugins/ht-mega-for-elementor/
- **Affected versions:** from 2.8.6 before 3.2.10
- **Fixed in:** 3.2.10 (Update to 3.2.10 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 Medium, affected versions Medium (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/ht-mega-for-elementor
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3962/

## Description

The HT Mega Addons for Elementor plugin for WordPress is vulnerable to DOM-Based Stored Cross-Site Scripting via the Image Magnifier widget's image URL in all versions up to, and including, 3.2.9. This is due to insufficient input sanitization on the stored image URL: it is written to the data-magnify-src attribute with only esc_url(), which keeps HTML entities such as &quot;, &lt; and &gt;. The browser decodes these entities when it reads the attribute, and the bundled jQuery Magnify script then concatenates the value into HTML markup. 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-3962/
- https://plugins.svn.wordpress.org/ht-mega-for-elementor/tags/3.2.10/
- https://wordpress.org/plugins/ht-mega-for-elementor/

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

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.
