CVE-2026-3850
Last modified
CVE-2026-3850 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Elegant Themes | Divi | <= 4.27.5 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-3850?
How severe is CVE-2026-3850?
How do I fix CVE-2026-3850?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-38470A Broken access control vulnerability in the API user endpoi…4.3
- CVE-2026-38472A Stored XSS vulnerability in forum reward comments in Gazel…6.1
- CVE-2026-38473A Stored XSS vulnerability in the subtitle deletion flow in …5.4
- CVE-2026-38474GazellePW (GazellePosterWall) commit 86c4bedf727691b5a97af42…5.4
- CVE-2026-3848GitLab has remediated an issue in GitLab CE/EE affecting all…5
- CVE-2026-3849Stack Buffer Overflow in wc_HpkeLabeledExtract via Oversized…9.8
- CVE-2026-38500Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2026-3851The Divi theme for WordPress is vulnerable to Stored Cross-S…6.4
- CVE-2026-3852The Divi theme for WordPress is vulnerable to Stored Cross-S…6.4
- CVE-2026-38526An authenticated arbitrary file upload vulnerability in the …9.9
- CVE-2026-38527A Server-Side Request Forgery (SSRF) in the /settings/webhoo…8.5
- CVE-2026-38528Krayin CRM v2.2.x was discovered to contain a SQL injection …7.1
Are you affected by CVE-2026-3850?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
