{"id":"CVE-2026-3850","published":"2026-09-02T06:37:34Z","modified":"2026-09-04T02:24:56Z","title":"Divi <= 4.27.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Contact Form 'redirect_url' Shortcode…","vendor":"Elegant Themes","product":"Divi","tier":"tail","description":{"text":"The Divi theme for WordPress is vulnerable to Stored Cross-Site Scripting via the `redirect_url` parameter of the `et_pb_contact_form` shortcode in all versions up to, and including, 4.27.6. This is due to the `redirect_url` attribute being sanitized with `esc_attr()` instead of `esc_url()` before being rendered into the `data-redirect_url` HTML data attribute. Additionally, `redirect_url` is absent from the hardcoded `$url_options` array in `class-et-builder-element.php`, so it does not receive `esc_url_raw()` sanitization during shortcode parsing. After a successful form submission, client-side JavaScript reads this data attribute and passes it directly to `window.location.href`, executing arbitrary JavaScript from a `javascript:` URI. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that execute whenever a user submits the contact form.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00261,"percentile":0.18189,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/768fb279-8d35-4002-91d8-c6a3b0f8f51d?source=cve","tags":[]},{"url":"https://www.divichangelog.com/divi-update","tags":[]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":3.64},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"elegant-themes","affectedVersions":[{"vendor":"Elegant Themes","product":"Divi","versions":["<= 4.27.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-04T02:24:47.992630Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-69886","exploited":false,"provenance":"source"}}