Quick answers
- Is CVE-2026-3850 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-3850 being exploited in the wild.
- How severe is CVE-2026-3850?
- Medium severity, with a CVSS score of 6.4, published 2 September 2026.
- Which products and versions are affected?
- Elegant Themes Divi up to 4.27.6.
- Is there a fix for CVE-2026-3850?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-3850 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-3850?
- Check whether you run Elegant Themes Divi at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability exists in the `et_pb_contact_form` shortcode's handling of the `redirect_url` parameter. The parameter is sanitized with `esc_attr()` instead of the safer `esc_url()` function, and is missing from the `$url_options` array in `class-et-builder-element.php`, preventing proper `esc_url_raw()` sanitization during parsing. When a user submits the contact form, client-side JavaScript reads the unsanitized `redirect_url` from a data attribute and passes it directly to `window.location.href`, allowing execution of `javascript:` URIs containing arbitrary code. This requires an authenticated attacker with Contributor access or above to inject the malicious payload via the shortcode editor, making it a stored XSS that triggers on every form submission by any visitor.
Affected products
- Elegant Themes Divi up to 4.27.6
Timeline
- 2026-09-02: disclosed