Skip to main content
EPSS 0.3%top 83%

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

0
Medium
Published: 09/05/2026 (09/05/2026, 06:37:58 UTC)
Source: CVE Database V5
Vendor/Project: Elegant Themes
Product: 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

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, 11:25:25 UTC

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 &quot;, but client-side JavaScript reads the data-image attribute using jQuery's .data('image'), which decodes &quot; 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.

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: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 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