Skip to main content

Magic Buttons for Elementor CVE-2025-6686

| EUVDEUVD-2025-19682 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-07-02 security@wordfence.com
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as contributor
  2. Delivery
    Create/edit post with magic-button shortcode
  3. Exploit
    Inject malicious attribute
  4. Install
    Publish page
  5. C2
    Victim views page
  6. Execute
    XSS executes
  7. Impact
    Session hijack

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must be an authenticated WordPress user with at least 'Contributor' role (capability 'edit_posts'). The attacker must be able to create or edit posts/pages that include the magic-button shortcode. The victim must then view the attacker's post. No special configuration or non-default settings are required; the shortcode is available by default in the affected plugin versions.

Impact

CVSS 3.1 base score 6.4 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N indicates network attack vector, low complexity, low privileges required (authenticated as contributor or above), no user interaction, and scope change affecting confidentiality and integrity. However, EPSS score is only 0.03% (7th percentile), signaling very low probability of exploitation. The vulnerability is not listed in CISA KEV and no public exploit code has been reported. The requirement for contributor-level authentication reduces real-world risk compared to unauthenticated XSS. Overall, this is a moderate-priority issue that should be patched but is not an emergency.

Exploit ScenarioDerived

An authenticated contributor creates a new post or page and inserts the magic-button shortcode with a crafted attribute containing a JavaScript payload (e.g., [magic-button onclick="alert(document.cookie)"]). When an administrator or other user views the page, the injected script executes in their browser, potentially stealing session cookies or performing actions on their behalf. No public exploit code has been published, but the attack is straightforward to reproduce.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 27, 2026

Stored cross-site scripting vulnerability in the Magic Buttons for Elementor WordPress plugin allows authenticated attackers with contributor-level access to inject arbitrary web scripts via the magic-button shortcode. The flaw exists in all versions up to and including 1.0 due to insufficient input sanitization. No public exploit has been identified, and EPSS score is very low (0.03%), indicating minimal exploitation risk at this time.

RemediationAI

Update the Magic Buttons for Elementor plugin to version 1.0.1 or later. The fix is available via the WordPress plugin repository; the patch commit can be found at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3333894%40magic-buttons-for-elementor&new=3333894%40magic-buttons-for-elementor. If updating is not immediately possible, restrict contributor-level access to trusted users only, as the vulnerability requires authenticated access. Note that limiting contributor roles may impact normal workflow; no other workaround is available.

Affected VersionsENISA

Magic Buttons for Elementor * ≤1.0

Affected Packages

euvd magic_buttons_for_elementor no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a stored Cross-Site Scripting (XSS) classified under CWE-79, originating from inadequate sanitization of user-supplied attributes in the plugin's shortcode magic-button. The affected component is the WordPress plugin 'Magic Buttons for Elementor' (CPE: cpe:2.3:a:pwrplugins:magic_buttons_for_elementor:*:*:*:*:*:wordpress:*:*), which extends the Elementor page builder with custom button functionality. The shortcode accepts attributes that are not properly escaped before rendering, allowing injection of malicious HTML/JavaScript.

Know when Magic Buttons For Elementor gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Requires contributor-level auth (PR:L), no user interaction (UI:N), scope change (S:C) as impact is on user's session.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Low
niche WordPress plugin
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy