Divi <= 4.27.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Social Media Follow 'skype_url' Shortcode Parameter

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-3852
CVSS 6.4 (Medium)
Publicly Published September 2, 2026
Last Updated September 3, 2026
Researcher Osvaldo Noe Gonzalez Del Rio (Os) - krei.dev | ogbuilders.io

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Divi

Software Type Theme
Software Slug Divi
Patched? Yes
Remediation Update to version 4.27.7, or a newer patched version
Affected Version
  • <= 4.27.6
Patched Version
  • 4.27.7

Recent vulnerabilities in Divi

# Title CVE ID CVSS Researchers Date
1 Divi <= 4.27.6 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Video Slider 'image_src' Shortcode Parameter CVE-2026-3853 6.4 Osvaldo Noe Gonzalez Del Rio (Os) September 4, 2026
2 Divi <= 4.27.6 - Authenticated (Contributor+) Server-Side Request Forgery via 'image_src' Parameter CVE-2026-4361 5.0 Osvaldo Noe Gonzalez Del Rio (Os) September 4, 2026
3 Divi <= 4.27.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Contact Form 'redirect_url' Shortcode Parameter CVE-2026-3850 6.4 Osvaldo Noe Gonzalez Del Rio (Os) September 1, 2026
4 Divi <= 4.27.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Content (Legacy JSON Format) Shortcode CVE-2026-3851 6.4 Osvaldo Noe Gonzalez Del Rio (Os) September 1, 2026
5 Divi 5.0 - 5.8.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-13712 6.4 .$n, *Sico.eX August 14, 2026
6 Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Magnific Popups JavaScript Library CVE-2024-5647 6.4 Webbernaut July 2, 2025
7 Divi <= 4.25.1 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-5533 6.4 Ngô Thiên An (ancorn_) June 17, 2024
8 Elegant Themes Divi Theme, Extra Theme, Divi Page Builder <= 4.25.0 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting CVE-2024-4490 6.4 Webbernaut May 9, 2024
9 Divi <= 4.23.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2023-6744 6.4 Francesco Carlucci December 22, 2023
10 Divi <= 4.20.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2023-29099 6.4 Rafie Muhammad May 9, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation