Description
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.
Published: 2025-07-02
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch Update
AI Analysis

Impact

The Magic Buttons for Elementor plugin allows an authenticated user with at least contributor access to inject arbitrary JavaScript through the "icon" attribute of its magic‑button shortcode. The plugin fails to sanitize or escape this user‑supplied value before storing it, enabling the attacker to embed malicious scripts that execute in the browsers of any user who views a page that contains the shortcode. This represents a classic stored XSS flaw, providing the attacker with potential to steal credentials, deface content, or perform other malicious client‑side actions. The weakness corresponds to CWE‑79, an input validation flaw leading to script injection.

Affected Systems

WordPress sites that have installed Magic Buttons for Elementor version 1.0 or earlier, all authors of the rexdot:Magic Buttons for Elementor plugin. The vulnerability is present in all affected releases up until and including 1.0; later releases have addressed the input sanitization issue.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderately high impact, but the EPSS score of less than 1% suggests a low probability of active exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog, further supporting the notion that widespread exploitation is unlikely. Because the flaw requires authenticated contributor+ access, an attacker must first obtain such a role or compromise a user with that privilege, after which they can inject script via the icon attribute. There are no known public exploits or workaround steps disclosed by the vendor; the primary mitigation is to upgrade to a patched version.

Generated by OpenCVE AI on April 22, 2026 at 14:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Magic Buttons for Elementor plugin to any version newer than 1.0, where the icon attribute input is properly sanitized.
  • If an immediate update is not possible, disable the plugin or remove the magic‑button shortcode usage from existing content to prevent execution of injected scripts.
  • Limit contributor‑level accounts to trusted personnel only, or remove contributor permissions from users who should not be able to embed content.

Generated by OpenCVE AI on April 22, 2026 at 14:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-19685 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 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.
History

Wed, 08 Apr 2026 17:00:00 +0000

Type Values Removed Values Added
Description 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 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. 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

Tue, 08 Jul 2025 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Pwrplugins
Pwrplugins magic Buttons For Elementor
CPEs cpe:2.3:a:pwrplugins:magic_buttons_for_elementor:*:*:*:*:*:wordpress:*:*
Vendors & Products Pwrplugins
Pwrplugins magic Buttons For Elementor

Wed, 02 Jul 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 02 Jul 2025 04:00:00 +0000

Type Values Removed Values Added
Description 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 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.
Title Magic Buttons for Elementor <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via magic-button Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Pwrplugins Magic Buttons For Elementor
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:42:31.713Z

Reserved: 2025-06-25T21:38:58.743Z

Link: CVE-2025-6687

cve-icon Vulnrichment

Updated: 2025-07-02T13:13:13.610Z

cve-icon NVD

Status : Modified

Published: 2025-07-02T04:16:01.167

Modified: 2026-04-08T17:20:55.267

Link: CVE-2025-6687

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T15:00:05Z

Weaknesses