Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.4
CVE-2025-6687: Magic Buttons for Elementor can run malicious scripts
CVE-2025-6687 · published 1 year ago
Summary
The Magic Buttons for Elementor plugin for WordPress lets users add special buttons to pages. Because it does not properly clean the icon field, a user who can edit the site (contributor level or higher) can embed hidden code that will run in visitors' browsers whenever they view the page. Update to a newer version or remove the plugin, and restrict editing rights until a fix is applied.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| pwrplugins | magic_buttons_for_elementor |
<= 1.0 cpe:2.3:a:pwrplugins:magic_buttons_for_elementor:*:*:*:*:*:wordpress:*:* |
Original advisory text
The Magic Buttons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's magic-button shortcode in all versions up to, and including, 1.0 due to insufficie...
The Magic Buttons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's magic-button shortcode in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping on the 'icon' user supplied attributes. 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://plugins.svn.wordpress.org/magic-buttons-for-elementor/trunk/magic_button... Product
- https://wordpress.org/plugins/magic-buttons-for-elementor/#developers Product
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old...
- https://www.wordfence.com/threat-intel/vulnerabilities/id/25eb1c89-0121-4ea5-a29... Third Party Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published2 Jul 2025
Updated4 Nov 2026
First seen7 Mar 2026
Sources
CVE-2025-6687 · NVD
Track software like this
Free during beta