Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain Contributor WordPress account
-
DeliveryCraft Divi page using legacy JSON Dynamic Content format
-
ExploitSet post_meta_key block with enable_html=on
-
InstallSave page (bypasses et_builder_sanitize_dynamic_content_fields filter)
-
C2Victim visits injected page
-
ExecuteRendering engine converts legacy JSON and outputs raw meta value
-
ImpactAttacker JavaScript executes in victim browser
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: (1) the attacker holds a WordPress Contributor role or higher on the target site - anonymous or Subscriber-level users cannot create or edit pages; (2) the Divi theme version is 4.27.6 or below; (3) the attacker constructs a Dynamic Content block using the legacy JSON format (rather than the modern |
| Impact | The CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects a scope-changed stored XSS that crosses trust boundaries to victim browsers. The PR:L metric correctly captures the Contributor-level authentication gate, which limits the exposed surface to users who can publish or edit posts - a relatively low bar in multi-author WordPress sites. The UI:N metric is debatable for stored XSS: a victim must visit the injected page, which is conventionally UI:R under CVSS 3.1 semantics; this may cause slight score inflation. No EPSS score or KEV listing was provided, and no public exploit has been identified, suggesting this has not yet seen automated or mass exploitation. The dual-flaw bypass nature (filter gap plus missing output encoding) makes the vulnerability technically interesting and likely straightforward to weaponize once the legacy JSON format is understood by an attacker. Real-world risk is meaningful for any WordPress instance where untrusted contributors can publish pages using Divi's Dynamic Content with post_meta_key blocks and enable_html enabled - but self-contained to that configuration. Sites using Divi in author/contributor-open deployments should treat this as a priority patch. |
| Exploit ScenarioDerived | An attacker with a Contributor account on a Divi-powered WordPress site crafts a page using the Dynamic Content feature, embedding a legacy JSON format payload in a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 02, 2026
Stored XSS in Elegant Themes' Divi WordPress theme (all versions through 4.27.6) allows authenticated attackers with Contributor-level access to inject persistent JavaScript payloads that execute against any visitor of an affected page. The vulnerability chains two compounding flaws: the save-time sanitization filter et_builder_sanitize_dynamic_content_fields() only recognizes the modern @ET-DC@...@ marker format, while the rendering engine silently accepts and converts a legacy JSON format, bypassing sanitization entirely; a second flaw in the post_meta_key resolver skips wp_kses_post() output encoding when enable_html is set to on, feeding raw get_post_meta() output directly into page HTML. A patch was released in version 4.27.7 per the Divi changelog. No public exploit has been identified at time of analysis.
RemediationAI
Update the Divi theme to version 4.27.7 or later, which resolves both the legacy JSON sanitization bypass and the missing wp_kses_post() call in the post_meta_key resolver. The patch is documented at https://www.divichangelog.com/divi-update/divi-4/version-4-27-7. For sites unable to patch immediately, a compensating control is to revoke Contributor-level role access to pages that use Divi Dynamic Content with the post_meta_key resolver and enable_html=on - this directly removes the attacker's entry point without disabling Divi functionality for editors and administrators. Alternatively, auditing existing Divi page content for legacy JSON dynamic content blocks and converting them to the modern @ET-DC@...@ format reduces the attack surface, though this is labor-intensive and does not fix the underlying output-encoding flaw. Content Security Policy headers can limit JavaScript execution scope but will not prevent injection; they are a defense-in-depth measure, not a substitute for patching.
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
Divi (CPE: cpe:2.3:a:elegant_themes:divi) is a premium WordPress page-builder theme by Elegant Themes, affected in all versions up to 4.27.6. The root cause (CWE-79, Stored XSS) arises from a sanitization filter/renderer format mismatch: et_builder_sanitize_dynamic_content_fields() enforces a deny-list only on the @ET-DC@...@ token format, but the rendering engine also accepts an undocumented legacy JSON format that is silently promoted to dynamic content at render time - a path that was never wired into the save-time filter. The second flaw compounds this: the post_meta_key resolver in et_builder_filter_resolve_default_dynamic_content() conditionally skips wp_kses_post() when the block attribute enable_html is on, meaning arbitrary HTML stored in post meta is written verbatim into the output DOM. Together these two paths form a complete, bypass-capable stored XSS chain exploitable by low-privileged authenticated users.
Know when Divi 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
PR:L for required Contributor role; UI:R because a victim must visit the injected page to trigger XSS; S:C for cross-browser scope change.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Divi theme for WordPress is vulnerable to Stored Cross-Site Scripting via the Dynamic Content feature's legacy JSON format in all versions up to, and including, 4.27.6. This is due to two compounding flaws: (1) the save-time sanitization filter et_builder_sanitize_dynamic_content_fields() only searches for dynamic content markers in the @ET-DC@...@ format, but the rendering engine also supports a legacy JSON format that is silently converted at render time, completely bypassing the save-time filter, and (2) the post_meta_key resolver in et_builder_filter_resolve_default_dynamic_content() does not apply wp_kses_post() to the resolved meta value when enable_html is set to on, passing raw get_post_meta() output directly to the page. 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.
Directory traversal vulnerability in the Elegant Themes Divi theme for WordPress allows remote attackers to read arbitra
Stored cross-site scripting in the Divi WordPress theme (versions 5.0 through before 5.9.0) allows any contributor-role
Stored XSS in the Divi WordPress theme's Social Media Follow module allows authenticated Contributor-level users to inje
The Divi theme for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.25.1 d
The Divi theme for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'et_pb_text' shortcode in all
DOM-based stored Cross-Site Scripting in the Divi WordPress theme (all versions through 4.27.6) allows authenticated Con
Stored Cross-Site Scripting in Elegant Themes' Divi WordPress theme (all versions through 4.27.6) enables authenticated
Auth. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor pat
Unauthenticated arbitrary shortcode execution in the Divi theme for WordPress (all versions up to and including 5.11.1)
Blind Server-Side Request Forgery in the Divi WordPress theme (all versions through 4.27.6) allows authenticated Contrib
EUVD-2026-69830
GHSA-rp2j-7c4f-r683
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB