CVE-2026-3853 PUBLISHED

Divi <= 4.27.6 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Video Slider 'image_src' Shortcode Parameter

Assigner: Wordfence
Reserved: 09.03.2026 Published: 05.09.2026 Updated: 05.09.2026

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 &quot;. 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 &quot; 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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS Score: 6.4

Product Status

Vendor Elegant Themes
Product Divi
Versions Default: unaffected
  • affected from 0 to 4.27.6 (incl.)

Credits

  • Osvaldo Noe Gonzalez Del Rio (Os) finder

References

Problem Types

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