Skip to main content
EPSS 0.3%top 83%

CVE-2026-3852: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Elegant Themes Divi

0
Medium
VulnerabilityCVE-2026-3852cvecve-2026-3852cwe-79
Published: 09/03/2026 (09/03/2026, 08:28:09 UTC)
Source: CVE Database V5
Vendor/Project: Elegant Themes
Product: Divi

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 v3.1

Score 6.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

Elegant Themes

Divi

Affected versions
>=0 <=4.27.6

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:12:35 UTC

Technical Analysis

CVE-2026-3852 is a stored cross-site scripting vulnerability in the Divi theme for WordPress affecting all versions up to 4.27.6. The issue stems from a three-part sanitization failure: the skype_url attribute is not whitelisted for URL sanitization, the render code bypasses esc_url() for Skype URLs, and only sanitize_text_field() is applied, which does not neutralize quote characters. This allows an attacker with Contributor-level privileges or higher to inject malicious scripts into pages via the skype_url shortcode attribute, which execute upon user interaction.

Potential Impact

An attacker with Contributor-level or higher privileges can inject arbitrary web scripts into pages using the skype_url shortcode attribute. These scripts execute in the context of users interacting with the injected element, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not require user interaction for script execution once the element is interacted with, and it affects confidentiality and integrity but not availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling or avoiding use of the Social Media Follow module's skype_url shortcode attribute to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-09T20:10:17.984Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a9931f2acd9273b49adc4ad

Added to database: 09/03/2026, 08:38:10 UTC

Last enriched: 09/07/2026, 13:12:35 UTC

Last updated: 10/16/2026, 18:48:20 UTC

Views: 74

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses