{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-3850","published":"2026-09-02T07:16:36.830000Z","last_modified":"2026-09-04T03:17:41.373000Z","status":"Deferred","cvss":{"version":"3.1","score":6.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"security@wordfence.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["elegant-themes"],"products":["elegant-themes/divi"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2026-3850/","html_en":"/en/cve/CVE-2026-3850/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-3850","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-3850"},"untrusted":{"vendor_name":"Elegant Themes","product_name":"Divi","desc_en":"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.","affected":[{"untrusted_vendor":"Elegant Themes","untrusted_product":"Divi","versions":[]}],"references":[{"url":"https://www.divichangelog.com/divi-update","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/768fb279-8d35-4002-91d8-c6a3b0f8f51d?source=cve","tags":[]}]}}