# Magical Addons For Elementor <= 1.5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dual Heading Widget Link URL

- **ID:** WPSEC-2026-4008
- **Plugin:** Magical Addons For Elementor ( Header Footer Builder, Free Elementor Widgets, Elementor Templates Library ) (`magical-addons-for-elementor`), https://wordpress.org/plugins/magical-addons-for-elementor/
- **Affected versions:** all versions before 1.5.7
- **Fixed in:** 1.5.7 (Update to 1.5.7 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 Low, affected versions Low (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/magical-addons-for-elementor
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4008/

## Description

The Magical Addons For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Dual Heading widget's link URL in all versions up to, and including, 1.5.6, due to insufficient validation of the URL scheme: the link URL is placed into the anchor's href attribute without esc_url(), so javascript: URLs are not removed. 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 clicks the injected link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4008/
- https://plugins.svn.wordpress.org/magical-addons-for-elementor/tags/1.5.7/
- https://wordpress.org/plugins/magical-addons-for-elementor/

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

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.
