CVE-2026-3853: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Elegant Themes Divi
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 v3.1
Score 6.4medium
Affected software
Elegant Themes
Divi
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Divi theme for WordPress is vulnerable to a DOM-based stored XSS through the image_src attribute of the et_pb_video_slider_item shortcode in all versions up to and including 4.27.6. The vulnerability arises because image_src is excluded from the whitelist of URL fields sanitized with esc_url_raw() at save time. On the server side, the attribute is rendered with esc_attr(), encoding quotes as ", but client-side JavaScript reads the data-image attribute using jQuery's .data('image'), which decodes " back to ". The decoded value is then concatenated into HTML and injected into the DOM without re-escaping, enabling script injection by authenticated users with Contributor or higher privileges.
Potential Impact
An attacker with Contributor-level access or higher can inject arbitrary JavaScript code into pages via the image_src attribute. This script executes in the context of users viewing the affected pages, potentially leading to session hijacking, privilege escalation, or other malicious actions. The vulnerability does not require user interaction beyond hovering over the carousel thumbnail. The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and partial confidentiality and integrity impact.
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. Avoid using the et_pb_video_slider_item shortcode with untrusted image_src values. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-09T20:17:06.086Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a9bbc38acd9273b49760cb0
Added to database: 09/05/2026, 06:52:40 UTC
Last enriched: 09/07/2026, 11:25:25 UTC
Last updated: 10/20/2026, 18:48:20 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.