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.
Published: 2026-05-29
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Simple Divi Shortcode plugin for WordPress contains a stored cross‑site scripting vulnerability in the showmodule shortcode. The plugin fails to sanitize or escape the 'id' attribute, allowing an attacker to embed arbitrary HTML and JavaScript that is stored in the page content. When a user opens a page containing the malicious shortcode, the injected script executes in that user's browser, potentially leaking cookies, hijacking the user session, or redirecting to malicious sites. The flaw can be leveraged to violate confidentiality and integrity of user data and to trick users into interacting fraudulent content.

Affected Systems

WordPress sites running the Simple Divi Shortcode plugin, specifically versions 1.2 or earlier. The affected plugin is distributed by creaweb2b and ships under the name Simple Divi Shortcode. No specific WordPress core version is required, but the vulnerability exists in the plugin's code irrespective of the underlying WordPress version.

Risk and Exploitability

The CVSS score of 6.4 classifies this issue as a moderate‑severity vulnerability. No EPSS score is available, but the flaw is not listed in the CISA KEV catalog. The vulnerability requires an authenticated attacker with contributor or higher privileges to inject malicious content, making it an insider or compromised‑admin threat. An attacker can browse to any post or page that contains the showmodule shortcode; once injected, all visitors to that page will run the payload. Environments lacking strict content security policies are particularly vulnerable, and the impact can be magnified if enabled shortcodes are widely used across the site.

Generated by OpenCVE AI on May 29, 2026 at 07:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Simple Divi Shortcode plugin to version 1.2.1 or newer, which removes the insecure handling of the 'id' parameter.
  • If immediate upgrade is not possible, locate and edit any existing content that contains the [showmodule] shortcode and remove or sanitize the injected 'id' value before publishing. The safest approach is to delete the shortcode entirely.
  • Implement a strict Content Security Policy that disallows inline scripts and limits script sources, thereby mitigating the effect of any residual stored XSS payloads.

Generated by OpenCVE AI on May 29, 2026 at 07:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 29 May 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Creaweb2b
Creaweb2b simple Divi Shortcode
Wordpress
Wordpress wordpress
Vendors & Products Creaweb2b
Creaweb2b simple Divi Shortcode
Wordpress
Wordpress wordpress

Fri, 29 May 2026 10:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 29 May 2026 06:30:00 +0000

Type Values Removed Values Added
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.
Title Simple Divi Shortcode <= 1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'id' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Creaweb2b Simple Divi Shortcode
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-29T10:06:16.184Z

Reserved: 2026-05-27T15:05:09.334Z

Link: CVE-2026-9714

cve-icon Vulnrichment

Updated: 2026-05-29T10:06:11.694Z

cve-icon NVD

Status : Deferred

Published: 2026-05-29T07:16:14.780

Modified: 2026-05-29T13:09:05.450

Link: CVE-2026-9714

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T15:47:32Z

Weaknesses