CVE-2026-3852 Cross-site scripting in Divi
Authenticated attackers with Contributor access can inject arbitrary scripts via the Skype URL parameter in the Divi theme, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-3852?
CVE-2026-3852 is a medium-severity cross-site scripting vulnerability in Elegant Themes Divi, published on 3 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-3852?
How do I fix CVE-2026-3852?
No fix has been published for CVE-2026-3852 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-3852 being exploited?
There is no known exploitation of CVE-2026-3852 in the wild and no public exploit code.
Sources
Also known as GHSA-wxj5-fwg9-6vxf.