What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
Simple Divi Shortcode versions 1.2 and earlier contain a cross-site scripting vulnerability that allows authenticated users to inject malicious scripts. The vulnerability has a changed scope, meaning the impact can extend beyond the vulnerable component itself. Site administrators should update to a version newer than 1.2 to mitigate this risk.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers and affect site functionality.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other visitors and site operations; data theft or malware distribution possible.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege user account (e.g., contributor or subscriber role).
Key dates
06Disclosure timeline
May 29, 2026
CVE published
May 29, 2026
Record updated