CVE-2026-3852
Received Received - Intake

Stored XSS in Divi Theme Social Media Follow Module

Vulnerability report for CVE-2026-3852, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-03

Last updated on: 2026-09-03

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-03
Last Modified
2026-09-03
Generated
2026-09-03
AI Q&A
2026-09-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
elegantthemes divi to 4.27.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Stored Cross-Site Scripting (XSS) vulnerability in the Divi WordPress theme affecting versions up to 4.27.6. It occurs via the Social Media Follow module's skype_url shortcode attribute due to improper sanitization. The flaw allows authenticated attackers with Contributor-level access or higher to inject malicious scripts into web pages. The issue stems from three sanitization failures: missing URL whitelisting, skipped URL escaping for Skype URLs, and preservation of quote characters in sanitized input.

Detection Guidance

Check if your Divi theme version is 4.27.6 or earlier. Inspect WordPress pages for injected scripts in Skype URL attributes. Look for unsanitized href attributes containing user-controlled input.

Impact Analysis

If exploited, this vulnerability could allow attackers to inject malicious JavaScript into your website. When visitors interact with the compromised element, the injected script executes in their browser. This could lead to theft of cookies, session tokens, or other sensitive data. Attackers might also deface your site or redirect users to malicious websites.

Compliance Impact

This vulnerability could impact compliance by potentially exposing user data through script injection. GDPR requires protecting personal data, and a successful XSS attack could lead to unauthorized access. HIPAA mandates safeguarding protected health information, which could be compromised if scripts steal or manipulate data. The vulnerability may violate security requirements in both standards if exploited.

Mitigation Strategies

Update Divi theme to version 4.27.7 or later. Remove Contributor-level access for untrusted users. Review and sanitize all user-provided URLs in Social Media Follow modules.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-3852. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart