Divi <= 4.27.6 — Authenticated (Contributor+) Stored Cross-Site Scripting via Contact Form 'redirect_url' Shortcode Parameter
CVE-2026-3850Published · Updated Action summary
Affected: ≤4.27.5Update to 4.27.7 or newer
All remediation stepsOn this page3
Overview
- Advisory ID
- CVE-2026-3850
- Product
- Divi Divi
- Affected
- ≤4.27.5
- Fixed in
- 4.27.7
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- Unknown
- Published
- · updated
- Credit
- Osvaldo Noe Gonzalez Del Rio (Os)
- Source
- Wordfence Intelligence
- Affected≤ 4.27.5
- Patched in4.27.7
Update to 4.27.7 or newer.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:CScope- Changed
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
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.
Not sure which version you run? Run a passive check — it reads public files only.
Remediation & mitigations
- Update to version 4.27.7, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
References & provenance
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium5.3 | 5.11.1 - Missing Authorization to Unauthenticated Arbitrary Registered Shortcode Execution via 'content' Parameter via Shortcode Module REST Endpoint 5.0 – 5.11.1Update to 5.12.0 | CVE-2026-91707 | |
| Medium6.4 | Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Video Slider 'image_src' Shortcode Parameter ≤4.27.6Update to 4.27.7 | CVE-2026-3853 | |
| Medium5.0 | Authenticated (Contributor+) Server-Side Request Forgery via 'image_src' Parameter ≤4.27.6Update to 4.27.7 | CVE-2026-4361 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting via Social Media Follow 'skype_url' Shortcode Parameter ≤4.27.6Update to 4.27.7 | CVE-2026-3852 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Content (Legacy JSON Format) Shortcode ≤4.27.6Update to 4.27.7 | CVE-2026-3851 |
- Medium5.35.11.1 - Missing Authorization to Unauthenticated Arbitrary Registered Shortcode Execution via 'content' Parameter via Shortcode Module REST Endpoint
5.0 – 5.11.1Update to 5.12.0
- Medium6.4Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Video Slider 'image_src' Shortcode Parameter
≤4.27.6Update to 4.27.7
- Medium5.0Authenticated (Contributor+) Server-Side Request Forgery via 'image_src' Parameter
≤4.27.6Update to 4.27.7
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting via Social Media Follow 'skype_url' Shortcode Parameter
≤4.27.6Update to 4.27.7
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting via Dynamic Content (Legacy JSON Format) Shortcode
≤4.27.6Update to 4.27.7
| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.4 | Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block | CVE-2026-18742 | |
| High7.1 | Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment Rename Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization≤4.2.19Update to 4.2.20VulnCrest analysis | CVE-2026-124969 | |
| Critical9.8 | Missing Authorization to Unauthenticated Arbitrary User Password Reset / Account Takeover via Webhook with 'Is the user ID' Field | CVE-2026-126173 | |
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 |
- Medium6.4Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block
Flatsome
≤3.20.12Update to 3.20.13
- High7.1VulnCrest analysisUnauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment Rename
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
≤4.2.19Update to 4.2.20
- Critical9.8Missing Authorization to Unauthenticated Arbitrary User Password Reset / Account Takeover via Webhook with 'Is the user ID' Field
AutomatorWP Webhooks
≤1.4.4Update to 1.4.5
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
Timeline
CVE published
Severity medium, CVSS 6.4
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
