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.
Published: 2026-09-05
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Divi theme contains a DOM‑Based Stored XSS flaw in the image_src attribute of the et_pb_video_slider_item shortcode. Because the field is not whitelisted, it bypasses server side escaping and can be stored with malicious payloads. When a visitor hovers over the carousel thumbnail the serialized value is decoded by JavaScript and concatenated into the DOM without re‑escaping, allowing injected scripts to execute. This enables an authenticated contributor or higher to inject arbitrary JavaScript that runs in the context of any page that contains the carousel, exposing users to data theft or further exploitation.

Affected Systems

Elegant Themes Divi for WordPress, versions 4.27.6 and earlier.

Risk and Exploitability

The flaw carries a CVSS score of 6.4, indicating a moderate severity. The EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with Contributor access or higher, so based on the description, it is inferred that the attacker must first obtain legitimate credentials or leverage social engineering to create a contributor account. Once authenticated, the attacker can edit a page and insert a malicious payload into the image_src attribute; the script will run for any user that loads the page and hovers over the carousel thumbnail. Although the need for authentication reduces the likelihood of widespread exploitation, the impact on confidentiality, integrity, and availability is significant for the affected organization.

Generated by OpenCVE AI on September 5, 2026 at 08:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Divi theme to version 4.27.7 or later to remove the vulnerability.
  • If an upgrade is delayed, restrict or disable the Contributor role for untrusted users and monitor role assignments.
  • Remove the image_src parameter from any et_pb_video_slider_item shortcode that contains user supplied content, or replace the slider with a trusted alternative.

Generated by OpenCVE AI on September 5, 2026 at 08:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Elegant Themes
Elegant Themes divi
Wordpress
Wordpress wordpress
Vendors & Products Elegant Themes
Elegant Themes divi
Wordpress
Wordpress wordpress

Sat, 05 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
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.
Title Divi <= 4.27.6 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Video Slider 'image_src' Shortcode Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Elegant Themes Divi
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-05T06:37:58.637Z

Reserved: 2026-03-09T20:17:06.086Z

Link: CVE-2026-3853

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T07:17:11.803

Modified: 2026-09-05T07:17:11.803

Link: CVE-2026-3853

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T09:00:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')