{
    "title": "Divi theme: security vulnerability history and fixes",
    "seo_title": "Divi, Extra and Divi Builder flaws: CVEs and safe versions",
    "h1": "Divi theme: security vulnerability history and fixes",
    "description": "The 14 Divi theme vulnerabilities published since 2020: Divi, Extra and Divi Builder affected, Divi 5, fixed versions and the role of the license.",
    "lead": "Patchstack lists 14 vulnerabilities in Divi since 2020, two of which let a contributor execute code. The shared builder also exposes Extra and Divi Builder, and only an active license delivers the fixes.",
    "language": "en",
    "locale": "en-US",
    "type": "article",
    "url": "https://www.wp-feint.com/divi-theme-security-vulnerabilities/",
    "canonical": "https://www.wp-feint.com/divi-theme-security-vulnerabilities/",
    "markdown": "https://www.wp-feint.com/divi-theme-security-vulnerabilities/index.md",
    "json": "https://www.wp-feint.com/divi-theme-security-vulnerabilities/index.json",
    "published": "2026-10-02T07:00:00+00:00",
    "modified": "2026-11-22T12:12:10+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "Divi theme: security vulnerability history and fixes",
            "url": "https://www.wp-feint.com/divi-theme-security-vulnerabilities/",
            "markdown": "https://www.wp-feint.com/divi-theme-security-vulnerabilities/index.md",
            "json": "https://www.wp-feint.com/divi-theme-security-vulnerabilities/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "Thème Divi : historique des failles de sécurité et correctifs",
            "url": "https://www.wp-feint.com/fr/failles-securite-theme-divi/",
            "markdown": "https://www.wp-feint.com/fr/failles-securite-theme-divi/index.md",
            "json": "https://www.wp-feint.com/fr/failles-securite-theme-divi/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "Tema Divi: historial de vulnerabilidades y parches",
            "url": "https://www.wp-feint.com/es/vulnerabilidades-tema-divi/",
            "markdown": "https://www.wp-feint.com/es/vulnerabilidades-tema-divi/index.md",
            "json": "https://www.wp-feint.com/es/vulnerabilidades-tema-divi/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "Theme Divi: Geschichte der Sicherheitslücken und Patches",
            "url": "https://www.wp-feint.com/de/divi-theme-sicherheitsluecken/",
            "markdown": "https://www.wp-feint.com/de/divi-theme-sicherheitsluecken/index.md",
            "json": "https://www.wp-feint.com/de/divi-theme-sicherheitsluecken/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "Divi di Elegant Themes: le vulnerabilità dal 2020 a oggi",
            "url": "https://www.wp-feint.com/it/vulnerabilita-sicurezza-tema-divi/",
            "markdown": "https://www.wp-feint.com/it/vulnerabilita-sicurezza-tema-divi/index.md",
            "json": "https://www.wp-feint.com/it/vulnerabilita-sicurezza-tema-divi/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "Tema Divi: histórico das falhas de segurança e correções",
            "url": "https://www.wp-feint.com/pt/vulnerabilidades-seguranca-tema-divi/",
            "markdown": "https://www.wp-feint.com/pt/vulnerabilidades-seguranca-tema-divi/index.md",
            "json": "https://www.wp-feint.com/pt/vulnerabilidades-seguranca-tema-divi/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "Divi-thema: de beveiligingslekken en hun patches op een rij",
            "url": "https://www.wp-feint.com/nl/divi-thema-kwetsbaarheden-beveiliging/",
            "markdown": "https://www.wp-feint.com/nl/divi-thema-kwetsbaarheden-beveiliging/index.md",
            "json": "https://www.wp-feint.com/nl/divi-thema-kwetsbaarheden-beveiliging/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "Divi theme: security vulnerability history and fixes"
        },
        {
            "level": 2,
            "text": "Divi in brief"
        },
        {
            "level": 2,
            "text": "Timeline of Divi vulnerabilities from 2020 to September 2026"
        },
        {
            "level": 2,
            "text": "The notable vulnerabilities explained"
        },
        {
            "level": 3,
            "text": "January 2020: a code injection found by the vendor"
        },
        {
            "level": 3,
            "text": "August 2020: a PHP file slipped in through template import"
        },
        {
            "level": 3,
            "text": "2023 to 2025: the string of contributor XSS"
        },
        {
            "level": 3,
            "text": "September 2026: five Divi 4 vulnerabilities fixed in May"
        },
        {
            "level": 3,
            "text": "Divi 5: shortcodes executed without an account"
        },
        {
            "level": 2,
            "text": "What this history shows"
        },
        {
            "level": 2,
            "text": "How to protect your site"
        },
        {
            "level": 3,
            "text": "Key takeaways"
        },
        {
            "level": 2,
            "text": "Sources"
        }
    ],
    "body": "Divi is not distributed on wordpress.org, and its code base is shared by three products: the Divi theme, the Extra theme and the Divi Builder plugin. Patchstack attributes 14 vulnerabilities published from January 2020 to late September 2026 to it, two of which allowed PHP code execution from a mere contributor account. Here is what was fixed, when, and what the license changes for your updates.\n\n## Divi in brief\n\nDivi is a commercial theme combined with a visual builder, published by Elegant Themes. It is sold on the vendor's website, which claims nearly 975,000 customers (a figure stated by Elegant Themes, with no independent source). The same builder ships in three forms:\n\n- **Divi**, the main theme;\n- **Extra**, a magazine-style theme built on the same engine;\n- **Divi Builder**, a plugin that brings the builder to any other theme.\n\nThe direct consequence: a vulnerability in the builder often affects all three products at once, and a site that uses Divi Builder with another theme is just as exposed as a site running Divi. Elegant Themes had scheduled the official release of Divi 5 for February 26, 2026, promising to maintain Divi 4 for at least six more months with critical security and compatibility fixes. Since then, two branches have coexisted: Divi 4 (4.27.x) and Divi 5 (5.x), each with its own vulnerabilities.\n\nA key point for a commercial theme: updates do not come through wordpress.org. Divi is updated through the vendor's system, after you enter your Elegant Themes username and API key in Divi, then Theme Options, Updates tab. According to Elegant Themes' documentation, only members with an active account have access to the latest versions, and a deactivated key blocks updates. An expired subscription therefore means no more security fixes. \"Nulled\" copies sold or shared outside the official site pose the same problem, only worse, as we explain in our article on nulled themes and plugins.\n\n## Timeline of Divi vulnerabilities from 2020 to September 2026\n\n![Timeline: January 4, 2020, PHP code injection in Divi, Extra and Divi Builder, fixed in 4.0.10; August 3, 2020, PHP file upload via Portability, fixed in 4.5.3; May 9, 2023, stored XSS fixed in 4.20.3; December 22, 2023, XSS via the Text module fixed in 4.23.2; May and June 2024, two XSS fixed in 4.25.1 and 4.25.2; July 2, 2025, XSS via the Magnific Popup library fixed in 4.27.2; February 26, 2026, scheduled official release of Divi 5; August 14, 2026, Divi 5 XSS fixed in 5.9.0; September 1 to 4, 2026, four XSS and one SSRF in Divi 4 fixed in 4.27.7; September 17, 2026, shortcodes executed without an account in Divi 5, fixed in 5.12.0.](https://www.wp-feint.com/media/2026/10/chronologie-failles-divi-en.webp)\n\nThe table lists the 14 vulnerabilities that Patchstack attributes to the Divi theme between January 1, 2020 and September 29, 2026. The date is that of the first publication (Wordfence, Patchstack or WPScan); the [CVSS score](https://www.wp-feint.com/glossary/cvss/) is the one from the authority that assigned the [CVE](https://www.wp-feint.com/glossary/cve/) (CNA), otherwise NVD's or that of the database shown. No recognized source documents exploitation of these vulnerabilities in the wild.\n\n| Published | Affected products | Fixed in | Type | CVSS | CVE | Account required |\n| --- | --- | --- | --- | --- | --- | --- |\n| January 4, 2020 | Divi, Extra, Divi Builder | 4.0.10 (affected: Divi 3.23 or Extra/Builder 2.23 to 4.0.9) | PHP code injection | 8.8 (Patchstack) | none | Contributor |\n| August 3, 2020 | Divi, Extra, Divi Builder | 4.5.3 (affected: Divi 3.0 or Extra/Builder 2.0 to 4.5.2) | PHP file upload (Portability), code execution | 8.8 (NVD) | CVE-2020-35945 | Contributor |\n| May 9, 2023 | Divi | 4.20.3 | Stored XSS | 6.5 | CVE-2023-29099 | Contributor |\n| December 22, 2023 | Divi | 4.23.2 | Stored XSS (Text module) | 6.4 | CVE-2023-6744 | Contributor |\n| May 9, 2024 | Divi, Extra, Divi Builder | 4.25.1 | DOM-based stored XSS | 6.4 | CVE-2024-4490 | Contributor |\n| June 17, 2024 | Divi | 4.25.2 | Stored XSS | 6.4 | CVE-2024-5533 | Author |\n| July 2, 2025 | Divi, Extra, Divi Builder | 4.27.2 | XSS via the Magnific Popup library | 6.4 | CVE-2024-5647 | Contributor |\n| August 14, 2026 | Divi 5 | 5.9.0 (affected: 5.0 to 5.8.1) | Stored XSS (Social Media Follow module) | 6.8 (WPScan) | CVE-2026-13712 | Contributor |\n| September 1, 2026 | Divi 4 | 4.27.7 | Stored XSS (contact form redirect) | 6.4 | CVE-2026-3850 | Contributor |\n| September 1, 2026 | Divi 4 | 4.27.7 | Stored XSS (dynamic content, legacy JSON format) | 6.4 | CVE-2026-3851 | Contributor |\n| September 2, 2026 | Divi 4 | 4.27.7 | Stored XSS (Skype link in the Social Media Follow module) | 6.4 | CVE-2026-3852 | Contributor |\n| September 4, 2026 | Divi 4 | 4.27.7 | DOM-based XSS (video slider) | 6.4 | CVE-2026-3853 | Contributor |\n| September 4, 2026 | Divi 4 | 4.27.7 | Server-side request forgery (blind SSRF) | 5.0 | CVE-2026-4361 | Contributor |\n| September 17, 2026 | Divi 5 | 5.12.0 (affected: 5.0 to 5.11.1) | Missing authorization, shortcode execution | 5.3 | CVE-2026-91707 | None |\n\n*Divi theme: the 14 vulnerabilities published by Patchstack from January 1, 2020 to September 29, 2026, with the sibling products affected.*\n\nFor CVE-2020-35945, NVD gives 8.8 and MITRE 9.9; WPScan rates it 5.4. For CVE-2024-5533, the official description states that an author role is required. The affected versions of CVE-2026-3850 are given as \"up to 4.27.5\" in the CVE record and \"up to 4.27.6\" in its title; the fix is 4.27.7 in either case.\n\n## The notable vulnerabilities explained\n\n### January 2020: a code injection found by the vendor\n\nIn early January 2020, Elegant Themes itself announced a code injection vulnerability discovered \"during a routine audit\" by its team. It let a logged-in contributor, author or editor execute a small set of PHP functions on the server. Affected versions started at Divi 3.23, Extra 2.23 and Divi Builder 2.23; version 4.0.10 of all three products fixed it. No CVE ID was assigned. A stolen writer's password was enough to exploit it.\n\n### August 2020: a PHP file slipped in through template import\n\nThe most severe vulnerability in Divi's history affected the Portability system, used to import and export page templates. The file extension check was done only in the browser, in JavaScript: bypassing it was enough to upload a PHP file to the server, then call it to execute code and take over the site (CVE-2020-35945). A contributor account was the minimum required. Chloe Chamberland of Wordfence discovered it on July 23, 2020; Elegant Themes released version 4.5.3 of Divi, Extra and Divi Builder on August 3, 2020, the day the vulnerability was published. Wordfence then estimated that more than 700,000 sites were affected. For its part, the hosting provider Oderland blocked code execution in the uploads folder of the Divi sites it hosts, a protection it recommended keeping after the update.\n\n*The Wordfence podcast looks back at the Divi, Extra and Divi Builder file upload vulnerability fixed in 4.5.3 (August 2020, in English).*\n\n### 2023 to 2025: the string of contributor XSS\n\nAfter 2020, every published vulnerability is of medium severity and almost all are stored [XSS](https://www.wp-feint.com/glossary/xss/): a contributor places JavaScript in a module setting (text, title, custom field), and that code runs for every visitor to the page, including a logged-in administrator. Rafie Muhammad (Patchstack) reported one in 2023, Francesco Carlucci another through the Text module, fixed in 4.23.2 and made public ten days after the vendor was notified. The May 2024 one (CVE-2024-4490) affected all three products at once. In July 2025, Wordfence published a vulnerability shared by some fifteen plugins and themes that bundled the Magnific Popup 1.1.0 JavaScript library; for Divi, Extra and Divi Builder, version 4.27.2 of October 1, 2024 had already fixed it. Our article on XSS vulnerabilities in WordPress details this mechanism.\n\n### September 2026: five Divi 4 vulnerabilities fixed in May\n\nFrom September 1 to 4, 2026, Wordfence published five Divi 4 vulnerabilities, all reported by the same researcher, Osvaldo Noe Gonzalez Del Rio. Four are stored XSS available to a contributor: a contact form redirect address that accepted a `javascript:` URL, the legacy JSON format of dynamic content that slipped past the save filter, the Skype link in the Social Media Follow module and the image of a video slider.\n\nThe fifth is a blind SSRF: the function that fetches a video thumbnail used `wp_remote_get()` instead of `wp_safe_remote_get()`, which made it possible to have the server query addresses on the internal network. Elegant Themes was notified on March 10, 2026 (March 17 for the SSRF) and released version 4.27.7, which fixes them all, on May 12, 2026. The details only became public four months later: a site left on 4.27.6 over the summer was exposed without anything being announced.\n\n### Divi 5: shortcodes executed without an account\n\nThe Divi 5 branch has had its own vulnerabilities. The first, published by WPScan on August 14, 2026 (CVE-2026-13712), is an XSS in the Social Media Follow module fixed in 5.9.0 on July 9. The second, published by Wordfence on September 17, 2026 (CVE-2026-91707), is the only one in the history that requires no account: a REST API endpoint tied to the Shortcode module ran the received content through `do_shortcode` without checking the visitor's permissions.\n\nAnyone could therefore run the shortcodes registered on the site. If the \"Force Enable D4 Shortcode Framework\" option was turned on, an attacker could even use the Divi contact form to send emails to the recipient and with the content of their choice. The score remains medium (5.3). Versions up to 5.11.1 are affected; 5.12.0 fixes it. Our article on [REST API security](https://www.wp-feint.com/wordpress-rest-api-security/) explains why these endpoints are a frequent target.\n\n![Bar chart of Divi theme vulnerabilities published per year according to Patchstack: 2 in 2020, both high, none in 2021 and 2022, 2 in 2023, 2 in 2024, 1 in 2025 and 7 in 2026 up to September 29, all medium; 14 in total.](https://www.wp-feint.com/media/2026/10/failles-par-annee-divi-en.webp)\n\n## What this history shows\n\n- **Shared code, shared vulnerabilities**: the two high-severity vulnerabilities of 2020, the May 2024 one and the Magnific Popup one affected Divi, Extra and Divi Builder alike. If you use the Divi Builder plugin with another theme, monitor it as you would the theme.\n- **The contributor, the main entry point**: 13 vulnerabilities out of 14 require an account, almost always a contributor. The risk depends on who can log in, as with [Elementor](https://www.wp-feint.com/elementor-security-vulnerabilities/), the other major page builder.\n- **Fixes often released before the announcement**: the same day in 2020, several months earlier in 2025 and 2026. That is reassuring if you update regularly, worrying if your license has expired: you see neither the vulnerability nor the fix.\n- **Two branches to follow**: since 2026, Divi 4 and Divi 5 each receive their own fixes. Check the minimum version for the branch you use.\n\nDivi is not an isolated case: [Avada, the other major commercial theme](https://www.wp-feint.com/avada-theme-security-vulnerabilities/), has a longer history, and even WordPress core regularly releases fixes, as shown in [our timeline of WordPress security releases](https://www.wp-feint.com/wordpress-core-vulnerabilities-timeline/).\n\n## How to protect your site\n\n- **Update**: at least Divi 4.27.7 on branch 4 (4.27.9 was released on September 18, 2026) and Divi 5.12.0 on branch 5. The same rule applies to Extra and Divi Builder.\n- **Keep the license active and connected**: check in Divi, Theme Options, Updates tab, that the username and API key are valid, otherwise WordPress will not offer you any update.\n- **Ban nulled copies**: they do not receive fixes and often contain added code (see the risks of nulled versions).\n- **Turn on automatic updates** if your setup allows it; our guide to automatic updates explains how to keep them under control.\n- **Limit accounts**: grant the contributor role sparingly, delete inactive accounts and enforce strong passwords (see roles and least privilege).\n- **Delete what you no longer use**: an Extra theme or a Divi Builder plugin that is deactivated but still present remains code to maintain (see [abandoned plugins and themes](https://www.wp-feint.com/abandoned-closed-wordpress-plugins/)). Also prevent PHP execution in `/wp-content/uploads/`.\n- **Add a web application firewall** to cover the gap between an announcement and your update (our WordPress firewall comparison), and **watch the advisories** that concern your themes (our method).\n\nWP Feint Pro helps you not miss an advisory, including for a commercial theme like Divi that wordpress.org does not track. Every day, it compares the installed versions with the public WPVulnerability.net database and sends a [vulnerability alert](https://www.wp-feint.com/features/vulnerable-plugin-alerts/) by [email](https://www.wp-feint.com/features/email-alerts/) with the severity and the fixed version; the member area shows [pending updates and vulnerable sites](https://www.wp-feint.com/features/#surveillance). WP Feint alerts: it does not update Divi for you, does not renew your license and is not a firewall. For a firewall, see our [comparison of the best WordPress security plugins](https://www.wp-feint.com/best-wordpress-security-plugins/).\n\nRead also: [The best WordPress page builders compared: Gutenberg, Elementor, Divi, Bricks and more](https://www.wp-feint.com/best-wordpress-page-builders-compared/).\n\n### Key takeaways\n\n- Patchstack lists 14 vulnerabilities in the Divi theme from January 1, 2020 to September 29, 2026: 2 high in 2020, 12 medium afterwards.\n- Divi, Extra and Divi Builder share the builder: several vulnerabilities affected all three.\n- The most severe (2020) let a contributor execute code; the only unauthenticated vulnerability (Divi 5, September 2026) executed shortcodes.\n- Minimum versions: Divi 4.27.7 or Divi 5.12.0, with an active license to receive fixes.\n\n## Sources\n\n- Elegant Themes: How To Update The Divi Theme (documentation) (https://help.elegantthemes.com/en/articles/8626491-how-to-update-the-divi-theme)\n- Elegant Themes: Divi 5 Official Release Date (January 14, 2026) (https://www.elegantthemes.com/blog/general-news/divi-5-official-release-date)\n- NVD: CVE-2020-35945 (January 1, 2021) (https://nvd.nist.gov/vuln/detail/CVE-2020-35945)\n- CVE: CVE-2024-4490, Divi, Extra and Divi Builder 4.25.0 and earlier (May 10, 2024) (https://www.cve.org/CVERecord?id=CVE-2024-4490)\n\nOther sources consulted: further CVE records, official vendor pages, security research publications, trade press articles, WPScan and Patchstack databases.",
    "categories": [
        "Vulnerable themes"
    ],
    "format": "application/json"
}