Home / Elegant Themes / Divi / CVE-2026-3851
CVE-2026-3851: is it exploited, and which versions of Elegant Themes Divi are affected and fixed?
CVE-2026-3851 is a cross-site scripting (XSS) vulnerability in Elegant Themes Divi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Divi through 4.27.6 (CVE record by Wordfence). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.4, CVSS 3.1, from Wordfence).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-3851?
Divi <= 4.27.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Content (Legacy JSON Format) Shortcode
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.
From the CVE record by Wordfence, last updated September 3, 2026, 18:19 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Elegant Themes | Divi | through 4.27.6 |
As the CVE record by Wordfence states it, last updated September 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-3851?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | Wordfence |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-3851 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 3, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 7.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9384d32d-77a1-4794-aace-96f553302a3b?source=cve
- https://www.divichangelog.com/divi-update/divi-4/version-4-27-7
Who found and reported it?
- Osvaldo Noe Gonzalez Del Rio (Os) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 9, 2026
- Published
- September 2, 2026, 03:38 UTC
- CVE record updated
- September 3, 2026, 18:19 UTC by Wordfence
- NVD
- Deferred, last modified September 3, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Divi?
- Sep 18, 2026CVE-2026-91707 Elegant Themes Divi: missing authorization
- Sep 5, 2026CVE-2026-4361 Elegant Themes Divi: server-side request forgery (SSRF)
- Sep 5, 2026CVE-2026-3853 Elegant Themes Divi: cross-site scripting (XSS)
- Sep 3, 2026CVE-2026-3852 Elegant Themes Divi: cross-site scripting (XSS)
- Sep 2, 2026CVE-2026-3850 Elegant Themes Divi: cross-site scripting (XSS)
- Jul 3, 2025CVE-2024-5647 BlossomThemes Social Feed: cross-site scripting (XSS)
- Jun 18, 2024CVE-2024-5533 Elegant Themes Divi: improper input validation
- May 10, 2024CVE-2024-4490 Elegant Themes Divi Builder: cross-site scripting (XSS)
Questions about CVE-2026-3851
Is CVE-2026-3851 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Elegant Themes Divi are affected by CVE-2026-3851?
Divi through 4.27.6, per the CVE record by Wordfence. The tables above give every range the sources list.
Which version fixes CVE-2026-3851?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-3851?
Medium (6.4, CVSS 3.1, from Wordfence). The severity table above shows each score with its source.
Where is the official record of CVE-2026-3851?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.