Skip to content

Divi

Divi <= 4.27.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Content (Legacy JSON Format) Shortcode

CVE-2026-3851Published 2 Sep 2026, 03:38 UTC

Real-world risk

1.5/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.4

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Wordfence)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
DiviNiche<= 4.27.6—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 7), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.6 × threat 0.851.530
  4. Rounded to one decimal between 0.1 and 101.5

How the score works

Exploitation and evidence timeline

  1. 2 Sep 2026 Published
  2. 3 Dec 2026 Risk 1.5 (cvss fallback)

Weakness

CWE-79

References

Get alerts for Divi

Free email or text alerts when a vulnerability in Divi reaches risk 8 or higher. Nothing else.