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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-05-27: | Vendor Notified |
| 2026-05-28: | Disclosed |
Credits
Muhammad Yudha - DJ
References
www.wordfence.com/...-023e-498e-b752-b5f3fa7a9949?source=cve
plugins.trac.wordpress.org/...runk/simple_divi_shortcode.php
plugins.trac.wordpress.org/...runk/simple_divi_shortcode.php
plugins.trac.wordpress.org/...mple-divi-shortcode/tags/1.2.1