# Magical Addons For Elementor <= 1.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom Attributes

- **ID:** WPSEC-2026-3861
- **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.6
- **Fixed in:** 1.5.6 (Update to 1.5.6 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-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/magical-addons-for-elementor
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3861/

## Description

The Magical Addons For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Custom Attributes feature in all versions up to, and including, 1.5.5. The plugin filters attribute keys only for the javascript:, data:, vbscript: and about: prefixes, so it still accepts inline event handler attribute names such as onclick or onmouseover. The value filter strips only 'on...=' sequences and protocol strings, and esc_attr() does not neutralise JavaScript in an event handler value. This makes it possible for authenticated attackers, with contributor-level access and above who can edit content with Elementor, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

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

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

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.
