Cross-site scripting in Elegant Themes Divi
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Elegant Themes | Divi | up to 4.27.6 | — | No fix listed | CNA |
- Divi VendorElegant Themes Affected up to 4.27.6 Fixed in — No fix listed CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:elegantthemes:divi:*:*:*:*:*:*:*:* | — | — | Elegant Themes |
- cpe:2.3:a:elegantthemes:divi:*:*:*:*:*:*:*:* Versions — — ·Elegant Themes
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-3853
- 2026-10-03 Alias added: GHSA-qpr5-j4j4-r5pg
References
More Elegant Themes vulnerabilities
- TI-2020-18386 An issue was discovered in the Divi Builder plugin, Divi theme, and Divi Extra theme… CVSS 3.1CRITICAL 9.9
- TI-2016-09042 The Elegant Themes Monarch plugin before 1.2.7 for WordPress has privilege escalation. CVSS 3.1HIGH 8.8
- TI-2016-09041 The Elegant Themes Bloom plugin before 1.1.1 for WordPress has privilege escalation. CVSS 3.1HIGH 8.8
- TI-2016-09040 The Elegant Themes Extra theme before 1.2.4 for WordPress has privilege escalation. CVSS 3.1HIGH 8.8
- TI-2015-01413 Directory traversal vulnerability in the Elegant Themes Divi theme for WordPress allows… CVSS 2.0MEDIUM 5.0
- TI-2026-61930 Missing authorization in Elegant Themes Divi CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-3853 · CVE Program
- CVE-2026-3853 · NVD
- FIRST EPSS
- GHSA-qpr5-j4j4-r5pg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences