Vulnerable themes

Blocksy theme and Blocksy Companion vulnerabilities since 2020

Blocksy: theme and Companion vulnerabilities

Blocksy had no published vulnerability before 2024, then fourteen in two and a half years according to Patchstack, including a PHP object injection in June 2026. Its companion plugin, Blocksy Companion, has its own history, and its paid version went through a series of critical vulnerabilities in spring 2026, up to unauthenticated code execution. Here is the complete timeline, what each vulnerability allowed and the versions to install.

Blocksy in brief

Blocksy is a free theme published by Creative Themes, released on wordpress.org in May 2019. It has more than 300,000 active installations (wordpress.org) and presents itself as a fast theme, compatible with the block editor and strongly geared toward WooCommerce. It provides its own blocks (About Me, Contact Info, etc.) and per-content options, stored in a field named blocksy_meta.

Most advanced features go through a separate plugin: Blocksy Companion, free and also installed on more than 300,000 sites, which adds starter sites, WooCommerce extensions and other modules. The paid version, Blocksy Companion Pro, is distributed by the vendor. The three components have separate histories: this article covers them in distinct sections. We explained in our article on popular themes with few vulnerabilities why a theme usually contains few vulnerabilities; Blocksy shows that a theme that ships blocks and fields saved through the REST API is more exposed.

Timeline of Blocksy vulnerabilities from 2020 to July 2026

Timeline: February 28, 2022, Blocksy Companion, unauthorized AJAX calls via Freemius, fixed in 1.8.20; April 10, 2023, Blocksy Companion, drafts readable by a subscriber, fixed in 1.8.82; February 5, 2024, the theme's first published vulnerability, an XSS fixed in 2.0.20; March to June 2024, six contributor XSS in the theme's blocks, fixed from 2.0.27 to 2.0.51; December 4, 2024, XSS in the Contact Info block, fixed in 2.0.78; November 10, 2025, Blocksy Companion, executable file disguised as an SVG uploaded by an author, fixed in 2.1.20; March 2, 2026, XSS via the blocksy_meta fields, fixed in 2.1.31; April 8, 2026, Blocksy Companion Pro, unauthenticated SQL injection, fixed in 2.1.29; April 22, 2026, Blocksy Companion Pro, code executed by a contributor, fixed in 2.1.38; June 8, 2026, PHP object injection in the theme via the REST API, fixed in 2.1.42; June 29, 2026, Blocksy Companion Pro, unauthenticated code execution, fixed in 2.1.47.

The following table lists the theme's fourteen vulnerabilities recorded by Patchstack, with the Patchstack publication date and the CVSS score from the authority that assigned the CVE (CNA). WPScan lists only twelve: the two cross-site request forgeries (CSRF) are missing. None is documented as exploited by a recognized source.

PublishedFixed inTypeCVSSCVEAccount required
February 5, 20242.0.20Stored XSS6.5CVE-2024-24871Editor (according to WPScan)
March 11, 20242.0.27Stored XSS via block attributes6.4CVE-2024-1767Contributor
April 10, 20242.0.23Cross-site request forgery (CSRF)4.3CVE-2024-31382None (a logged-in user must click)
April 23, 20242.0.34Stored XSS6.5CVE-2024-32961Contributor
April 25, 20242.0.40Stored XSS (About Me block)6.4CVE-2024-3747Contributor
May 5, 20242.0.43Stored XSS (tagName parameter)6.4CVE-2024-4158Contributor
May 21, 20242.0.47Stored XSS (link rel attribute)6.4CVE-2024-4943Contributor
June 5, 20242.0.51XSS (custom_url parameter)6.4CVE-2024-5439Contributor
July 1, 20242.0.23Cross-site request forgery (CSRF)5.4CVE-2024-37469None (a logged-in user must click)
December 4, 20242.0.78Stored XSS (Contact Info block)6.4CVE-2024-11420Contributor
May 7, 20252.0.98Missing authorization check4.9CVE-2025-47465High-privilege account
August 14, 20252.1.7Stored XSS5.9CVE-2025-55713Shop manager (according to WPScan)
March 2, 20262.1.31Stored XSS via the blocksy_meta fields6.4CVE-2026-2583Contributor
June 8, 20262.1.42PHP object injection (REST API and migration)8.8CVE-2026-8365Contributor
Bar chart of Blocksy theme vulnerabilities published per year according to Patchstack: none from 2020 to 2023, 10 in 2024 all medium, 2 medium in 2025, 2 in 2026 up to July 11 including 1 high; 14 in total.

The theme's notable vulnerabilities explained

2024: a string of XSS in the blocks

Ten of the fourteen vulnerabilities date from 2024, almost all stored XSS. The pattern repeats: a theme block accepts an attribute (className, radius, tagName, the Contact Info block link) and displays it again without escaping it. A contributor can then slip in JavaScript, which runs for every visitor to the page, including an administrator. Researcher Ngô Thiên An reported five of them to Wordfence between March and June 2024, fixed over versions 2.0.27 to 2.0.51. These vulnerabilities require an account that can write posts: they mostly concern multi-author sites. The mechanism is detailed in our article on XSS vulnerabilities.

Two request forgeries fixed in 2.0.23

Patchstack published two CSRF vulnerabilities in April and then July 2024 affecting versions up to 2.0.22 (CVE-2024-31382 and CVE-2024-37469). An attacker without an account could prepare a page that, when opened by a logged-in user, triggered an action without their knowledge. The scores remain moderate (4.3 and 5.4), and version 2.0.23 fixes both.

June 2026: the PHP object injection

The theme's most serious vulnerability, CVE-2026-8365 (8.8 according to Wordfence), combines two flaws. First, the function that sanitizes the blocksy_meta options, which can be changed through the REST API, only blocked the < and > characters: a contributor could save a serialized PHP string in them. Second, a database migration run during a theme update unserialized all values without class restrictions. The injected object then triggered a call to an arbitrary PHP function, and therefore code execution. Researcher Quốc Huy, who had also found the March 2026 XSS in the same fields, reported it on May 12, 2026; it was published on June 8 and fixed in 2.1.42. To understand this type of attack, see our article on PHP deserialization and the one on REST API security.

Blocksy Companion: the companion plugin

This section is about the free Blocksy Companion plugin, not the theme. WPScan attributes 12 vulnerabilities published from January 1, 2020 to July 11, 2026 to it, almost all of medium severity:

PublishedFixed inTypeCVSSCVEAccount required
February 28, 20221.8.20Unauthorized AJAX calls via the Freemius SDK6.3 (Freemius SDK CVE)CVE-2022-4974Logged-in account
January 27, 20231.8.68Stored XSS5.5CVE-2023-23898Contributor
April 10, 20231.8.82Reading drafts via a shortcode4.3 (CISA-ADP)CVE-2023-1911Subscriber
March 21, 20242.0.32Stored XSS (Newsletter widget)6.4CVE-2024-2392Contributor
April 10, 20242.0.29Cross-site request forgery (CSRF)5.4CVE-2024-31932None (a user must click)
May 10, 20242.0.46XSS via SVG image upload6.4CVE-2024-4487Contributor
May 30, 20242.0.43Server-side request forgery (SSRF)4.4CVE-2024-35633Administrator
September 16, 20252.1.11Stored XSS (newsletter subscribe shortcode)6.4CVE-2025-9565Contributor
October 6, 20252.1.15Stored XSS6.4CVE-2025-12475Contributor
November 10, 20252.1.20Arbitrary file upload (fake SVG)8.8CVE-2025-12846Author
June 18, 20262.1.46Stored XSS (product description)4.4CVE-2026-12430Editor

The free plugin's most severe vulnerability is CVE-2025-12846. Blocksy Companion allows SVG image uploads, but its file type check could be fooled by a double extension: an author could upload a file accepted as an SVG but executable by the server, which made code execution possible. Angus Girvan found it on October 30, 2025 and reported it on November 6; version 2.1.20 came out on November 7, and the vulnerability was published on November 10. The fix took a few days.

Blocksy Companion Pro: five vulnerabilities in three months

The paid version only concerns Creative Themes customers. Patchstack published five vulnerabilities in it between April and June 2026, three of them critical:

  • April 8, 2026: unauthenticated SQL injection, versions before 2.1.29 (CVE-2026-39596, 9.3).
  • April 22, 2026: code execution by a contributor, up to 2.1.37, fixed in 2.1.38 (CVE-2026-40783, 9.9).
  • June 26, 2026: a second code execution by a contributor, up to 2.1.45 (CVE-2026-57315, 8.5), and an unprotected direct object reference, without an account (CVE-2026-57630, 5.3).
  • June 29, 2026: unauthenticated code execution, up to 2.1.46, fixed in 2.1.47 (CVE-2026-57624, 10).

The last one is the most dangerous. The same researcher, Nguyen Ba Khanh, also appears in two other records published in early July for the same versions: CVE-2026-15158 at Wordfence (9.8) and CVE-2026-58480 at VulnCheck (9.8), which seem to describe the same flaw. According to Wordfence, the function that saved photos attached to customer reviews (Advanced Reviews module) relied on a filter from the Custom Fonts module that accepted any file name containing .woff2 or .ttf, anywhere in the name.

A file named shell.woff2.php therefore passed the check and could be executed as PHP. Wordfence specifies that the vulnerability is only exploitable with the Pro version, when the WooCommerce Extra (Advanced Reviews) and Custom Fonts modules are both active; the free plugin does not contain this code, even though Patchstack lists it too. Wordfence notified the vendor on June 24, 2026 and published its record on July 1.

None of these vulnerabilities is documented as exploited by a recognized source as of July 11, 2026. But unauthenticated code execution on a WooCommerce store is exactly the kind of vulnerability bots exploit quickly: the update should not wait.

What this history shows

  • A theme that does more than display content is more exposed: Blocksy's vulnerabilities come from its blocks and from its fields saved through the REST API, not from its templates.
  • The contributor remains the main entry point: twelve of the theme's fourteen vulnerabilities require an account, most often a contributor.
  • File upload, the most dangerous vulnerability: a fake SVG in Companion in 2025, a fake font file in Companion Pro in 2026. Checks based on file name extensions are fragile.
  • Quick fixes when the dates are known: Companion's SVG vulnerability was fixed the day after it was reported to the vendor.

WordPress core also follows a regular rhythm of security releases, traced in our timeline of WordPress core vulnerabilities.

How to protect your site

  • Update the Blocksy theme (at least 2.1.42), Blocksy Companion (at least 2.1.46) and Blocksy Companion Pro (at least 2.1.47), ideally to the latest version. The Pro version is distributed by Creative Themes: check that it actually receives updates.
  • Turn on automatic updates at least for minor releases (our guide to automatic updates).
  • Disable unused Companion modules: the critical June 2026 vulnerability required two active modules. Delete the plugins and themes you no longer use (see abandoned plugins).
  • Limit contributor and author accounts, and close registration if you do not need it (see roles and least privilege).
  • Block PHP execution in /wp-content/uploads/ at the server level, and look for any suspicious .php file there.
  • Add a web application firewall to cover the gap between a disclosure and your update (our WordPress firewall comparison), and watch the advisories that concern your components (our method).

WP Feint Pro helps you not miss an advisory, for themes as well as plugins. Every day, it compares the installed versions with the public WPVulnerability.net database and sends a vulnerability alert by email with the severity and the fixed version; the member area shows pending updates and vulnerable sites. WP Feint alerts: it does not fix Blocksy and it is not a firewall, so updating remains essential. For a firewall, see our comparison of the best WordPress security plugins.

Key takeaways

  • Patchstack lists 14 vulnerabilities in the Blocksy theme from January 1, 2020 to July 11, 2026, all since 2024, one of them high: the PHP object injection fixed in 2.1.42.
  • The free Blocksy Companion plugin has 12 vulnerabilities in WPScan over the same period, including a file upload by an author fixed in 2.1.20.
  • Blocksy Companion Pro had three critical vulnerabilities in spring 2026, including unauthenticated code execution fixed in 2.1.47.
  • No documented exploitation to date; minimum versions: theme 2.1.42, Companion 2.1.46, Companion Pro 2.1.47.

Sources

  • WordPress.org: Blocksy, theme page and active installations (external link, opens in a new tab)
  • WordPress.org: Blocksy Companion, plugin page (external link, opens in a new tab)
  • CVE.org: CVE-2024-31382, Blocksy, CSRF (April 15, 2024) (external link, opens in a new tab)
  • CVE.org: CVE-2024-37469, Blocksy, CSRF (January 2, 2025) (external link, opens in a new tab)

Other sources consulted: further CVE records, WPScan and Patchstack databases.

Update, October 28, 2026: on October 9, 2026, Wordfence disclosed CVE-2026-107645 (rated 9.1) in Blocksy Companion up to 2.1.58: on stores that also use Dokan, an unauthenticated visitor could create a vendor account. Version 2.1.59 fixes it. Full details: Blocksy Companion vulnerability: Dokan vendor with no account.

Vulnerable themes8 min

Blocksy Companion vulnerability: Dokan vendor with no account

A Blocksy Companion vulnerability lets an unauthenticated visitor become a Dokan vendor and be logged in automatically. Only Dokan stores are exposed; version 2.1.59 has fixed…

Start free, go Pro when you’re ready

The free version already hides WordPress and moves the login page. Pro adds aliases, two-factor authentication and monitoring.