CVE-2026-3853
Received Received - Intake

DOM-Based Stored XSS in Divi WordPress Theme

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

Publication date: 2026-09-05

Last updated on: 2026-09-05

Assigner: Wordfence

Description

The Divi theme for WordPress is vulnerable to DOM-Based Stored Cross-Site Scripting via the `image_src` attribute of the `et_pb_video_slider_item` shortcode in all versions up to, and including, 4.27.6. This is due to the `image_src` field not being included in the `$url_options` whitelist (which only contains `url`, `button_link`, `button_url`), so it never receives `esc_url_raw()` at save time. On the server side, the value is rendered into a `data-image` HTML attribute using `esc_attr()`, which encodes double quotes as `"`. However, the client-side JavaScript carousel code in `custom.unified.js` reads this attribute using jQuery's `.data('image')`, which returns the browser-decoded value (with `"` decoded back to `"`). The decoded value is then concatenated directly into an HTML string and injected into the DOM via `jQuery.after()` without re-escaping. 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 hovers over the carousel thumbnail.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
elegant_themes divi to 4.27.6 (inc)
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

The Divi theme for WordPress has a DOM-Based Stored Cross-Site Scripting (XSS) vulnerability in versions up to 4.27.6. The issue occurs via the image_src attribute of the et_pb_video_slider_item shortcode. The image_src field is not properly sanitized when saved, allowing attackers to inject malicious scripts. These scripts execute when users hover over carousel thumbnails due to improper handling of the data-image attribute by client-side JavaScript.

Detection Guidance

To detect this vulnerability, check if your Divi theme version is 4.27.6 or earlier. Use WordPress admin to view the theme version or run the command 'wp theme list' in the WordPress root directory. If vulnerable, update to Divi 4.27.7 or later immediately.

Impact Analysis

Authenticated attackers with Contributor-level access or higher can inject arbitrary web scripts into pages. These scripts execute when other users interact with the affected carousel, potentially stealing session cookies, redirecting users to malicious sites, or performing actions on their behalf. This could lead to account takeovers or unauthorized data access.

Compliance Impact

This vulnerability could violate GDPR by enabling unauthorized access to user data or session cookies, leading to data breaches. For HIPAA, it may expose protected health information if exploited on healthcare-related sites. Compliance failures could result in legal penalties, reputational damage, and loss of trust.

Mitigation Strategies

Update the Divi theme to the latest version beyond 4.27.6 immediately to patch the vulnerability.

Chat Assistant

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

EPSS Chart