CVE-2026-9714
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in Simple Divi Shortcode plugin ≤1.2 via unsanitized 'id' parameter in [showmodule] shortcode, allowing authenticated attackers to inject arbitrary scripts.
Vulnerability
The Simple Divi Shortcode plugin for WordPress versions up to and including 1.2 is vulnerable to Stored Cross-Site Scripting (XSS) via the 'id' parameter of the [showmodule] shortcode. The showmodule_shortcode() function in simple_divi_shortcode.php fails to properly sanitize and escape the 'id' attribute before concatenating it into a dynamically constructed shortcode string, allowing an attacker to break out of the attribute context and inject arbitrary HTML. [1]
Exploitation
An attacker with contributor-level access or higher can craft a post or page containing a [showmodule] shortcode with a malicious 'id' parameter. When the shortcode is processed, the injected script is stored and executed in the browsers of users viewing the affected page. [1]
Impact
Successful exploitation leads to Stored XSS, enabling the attacker to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, defacement, or further compromise of the WordPress site.
Mitigation
Upgrade to version 1.3 or later, which includes proper input sanitization and output escaping. No workaround is available. [1]
AI Insight generated on May 29, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2<=1.2+ 1 more
- (no CPE)range: <=1.2
- (no CPE)range: <=1.2
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
4- plugins.trac.wordpress.org/browser/simple-divi-shortcode/trunk/simple_divi_shortcode.phpnvd
- plugins.trac.wordpress.org/browser/simple-divi-shortcode/trunk/simple_divi_shortcode.phpnvd
- plugins.trac.wordpress.org/changesetnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/f188337e-023e-498e-b752-b5f3fa7a9949nvd
News mentions
0No linked articles in our index yet.