Cross-site scripting in Elegant Themes Divi
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Divi theme for WordPress is vulnerable to Stored Cross-Site Scripting via the `skype_url` shortcode attribute of the Social Media Follow module in all versions up to, and including, 4.27.6. This is due to a three-part sanitization failure: (1) the `skype_url` field is not included in the `$url_options` whitelist in `class-et-builder-element.php`, so it never invokes `esc_url_raw()` during shortcode processing, (2) the render code in `SocialMediaFollowItem.php` explicitly skips `esc_url()` for Skype URLs (`! $is_skype ? esc_url( $url ) : $skype_url`), and (3) only `sanitize_text_field()` is applied, which preserves single and double quote characters allowing attribute breakout. The unsanitized value is interpolated directly into a single-quoted `href` attribute (`href='{$social_network_link_url}'`). 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 interacts with the injected element.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Elegant Themes | Divi | up to 4.27.6 | — | No fix listed | CNA |
- Divi VendorElegant Themes Affected up to 4.27.6 Fixed in — No fix listed CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:elegantthemes:divi:*:*:*:*:*:*:*:* | — | — | Elegant Themes |
- cpe:2.3:a:elegantthemes:divi:*:*:*:*:*:*:*:* Versions — — ·Elegant Themes
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-3852
- 2026-10-03 Alias added: GHSA-wxj5-fwg9-6vxf
References
More Elegant Themes vulnerabilities
- TI-2020-18386 An issue was discovered in the Divi Builder plugin, Divi theme, and Divi Extra theme… CVSS 3.1CRITICAL 9.9
- TI-2016-09042 The Elegant Themes Monarch plugin before 1.2.7 for WordPress has privilege escalation. CVSS 3.1HIGH 8.8
- TI-2016-09041 The Elegant Themes Bloom plugin before 1.1.1 for WordPress has privilege escalation. CVSS 3.1HIGH 8.8
- TI-2016-09040 The Elegant Themes Extra theme before 1.2.4 for WordPress has privilege escalation. CVSS 3.1HIGH 8.8
- TI-2015-01413 Directory traversal vulnerability in the Elegant Themes Divi theme for WordPress allows… CVSS 2.0MEDIUM 5.0
- TI-2026-61930 Missing authorization in Elegant Themes Divi CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-3852 · CVE Program
- CVE-2026-3852 · NVD
- FIRST EPSS
- GHSA-wxj5-fwg9-6vxf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences