Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor-level WordPress account
-
DeliverySubmit crafted serialized RaiiPattern via blocksy_meta REST field
-
ExploitPayload stored in post meta (sanitizer bypassed)
-
InstallAdmin upgrades Blocksy triggering V200 migration
-
C2SearchReplacer @unserialize() instantiates object
-
ExecuteRaiiPattern::__destruct calls call_user_func()
-
ImpactArbitrary PHP code execution as web user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated WordPress account at contributor level or above on a site running the Blocksy theme version ≤ 2.1.35 with the 'blocksy_meta' REST API field writable to that role; the attacker must additionally wait for (or induce) execution of the V200 database migration, which runs during a theme/database upgrade, to trigger the @unserialize() sink in SearchReplacer::run_recursively(). Exploitation is limited by: the PR:L authentication requirement (anonymous visitors cannot exploit), the need for the V200 migration code path to execute (sites that never upgrade past the pre-V200 state will not deserialize the payload), and the requirement that the Blocksy\RaiiPattern class be loadable in the target's PHP autoload context. No user interaction is required (UI:N) once the prerequisites are met. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) scoring 8.8 reflects network-reachable, low-complexity exploitation requiring only low privileges, with no user interaction and full confidentiality/integrity/availability impact - appropriate for a contributor-to-RCE chain on a CMS. EPSS data was not provided and the CVE is not listed in CISA KEV; no public exploit identified at time of analysis. The exploitation is not purely opportunistic: it requires (a) the attacker to obtain at least contributor-level WordPress credentials, and (b) the V200 migration to run, which happens during site upgrades - meaning a sleeper payload can sit dormant until the admin upgrades the theme/database. This makes risk highest for multi-author WordPress sites with permissive registration or weak account hygiene, and lower for single-author sites with locked-down registration. No conflicting signals were observed between CVSS, description, and Wordfence's reporting. |
| Exploit ScenarioDerived | An attacker registers or compromises a contributor-level WordPress account on a target site running Blocksy ≤ 2.1.35, then uses the REST API to write a crafted serialized Blocksy\RaiiPattern object into the 'blocksy_meta' post meta field of a draft post - the sanitizer accepts it because the payload contains no '<' or '>' characters. When the site administrator subsequently upgrades Blocksy and the V200 migration executes SearchReplacer::run_recursively(), the @unserialize() call instantiates the attacker's object; on tear-down, RaiiPattern::__destruct() invokes call_user_func() with attacker-supplied arguments, yielding arbitrary PHP execution under the web server account. No public exploit identified at time of analysis, but the gadget chain is fully described in the advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Authenticated PHP Object Injection in the Blocksy WordPress theme (versions ≤ 2.1.35) allows contributor-level users to escalate to remote code execution by storing a malicious serialized object in post meta that is later deserialized during the V200 database migration. Wordfence-reported flaw chains weak input sanitization in blocksy_sanitize_post_meta_options() with an unconditional @unserialize() call in SearchReplacer::run_recursively(), triggering RaiiPattern::__destruct() to invoke arbitrary callables via call_user_func(). No public exploit identified at time of analysis, but the low-privilege requirement and high impact make this a meaningful priority for sites running upgraded Blocksy installations.
RemediationAI
Upgrade the Blocksy theme to version 2.1.41 or later, where the fixed code paths (db-search-replacer.php, meta-boxes.php, validator.php, and raii.php) are visible at https://themes.trac.wordpress.org/browser/blocksy/2.1.41/. Until the upgrade can be applied, restrict who can author content by auditing all accounts at contributor level and above, disabling new-user self-registration (Settings → General → 'Anyone can register'), and enforcing strong passwords / MFA for editorial accounts - this directly raises the bar for the PR:L precondition, with the trade-off of inconveniencing legitimate contributors. As a stop-gap, defer running the V200 database migration on upgraded sites until the patched theme version is in place, since the deserialization sink only fires during migration; note this means delaying the upgrade itself, which leaves the storage-side sanitization weakness in place. Monitor wp_postmeta for suspicious 'blocksy_meta' values containing serialized object signatures (e.g. 'O:' followed by class names) as a detection control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Blocksy is a popular WordPress theme by CreativeThemesHQ (CPE cpe:2.3:a:creativethemeshq:blocksy). The root cause is CWE-502 (Deserialization of Untrusted Data). Two code paths combine to create the vulnerability: blocksy_sanitize_post_meta_options() in admin/helpers/meta-boxes.php performs only superficial sanitization that rejects values containing '<' or '>' but permits PHP serialized object strings (which use characters like 'O:', ':', '{', '}', '"') to be persisted into the 'blocksy_meta' REST API field. Separately, the database migration utility SearchReplacer::run_recursively() in inc/classes/db-versioning/utils/db-search-replacer.php calls @unserialize() on stored string values without an allowed_classes restriction, instantiating attacker-controlled objects. The Blocksy\RaiiPattern class (inc/classes/raii.php) defines a __destruct() magic method that invokes call_user_func() on an instance-controlled callable, providing a classic POP gadget for arbitrary PHP execution within the WordPress process context.
Know when Blocksy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Blocksy theme for WordPress is vulnerable to PHP Object Injection leading to Remote Code Execution via the 'blocksy_meta' REST API field and the V200 database migration in versions up to and including 2.1.35. This is due to insufficient input sanitization in the blocksy_sanitize_post_meta_options() function, which only blocks values containing '<' or '>' and does not prevent serialized PHP object strings from being stored in post meta, combined with the SearchReplacer::run_recursively() function unconditionally deserializing all string values via @unserialize() during migration without restricting allowed classes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject a serialized Blocksy\RaiiPattern object into post meta that, when the V200 migration runs on an upgraded site, is deserialized and triggers RaiiPattern::__destruct(), which executes arbitrary PHP callables via call_user_func().
Articles & Coverage 2
Executive ViewAI
Blocksy WordPress theme versions 2.1.35 and below allow contributor-level users to gain remote code execution; no public exploit identified at time of analysis. Organizations using this theme face elevated risk if contributor accounts are compromised or become malicious, enabling attackers to fully compromise websites and potentially access sensitive data.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict contributor-level user permissions to essential personnel with enforced multi-factor authentication; (2) Implement post meta database monitoring and alerting for unauthorized modifications; (3) Deploy intrusion detection to monitor for suspicious PHP object serialization patterns; (4) Maintain automated daily backups with tested recovery procedures; (5) Segregate affected WordPress instances from critical business systems; (6) Enable comprehensive audit logging for all user account activities.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in creativethemeshq B
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in creativethemeshq B
The Blocksy theme for WordPress is vulnerable to Reflected Cross-Site Scripting via the custom_url parameter in all vers
The Blocksy theme for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘has_field_link_rel’ parameter in a
The Blocksy theme for WordPress is vulnerable to Stored Cross-Site Scripting via the className parameter in the About Me
The Blocksy theme for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘tagName’ parameter in versions up
The Blocksy theme for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's blocks in all versions up
Cross-Site Request Forgery (CSRF) vulnerability in CreativeThemes Blocksy allows Cross Site Request Forgery.0.22. Rated
The Blocksy theme for WordPress is vulnerable to Stored Cross-Site Scripting via the Contact Info Block link parameter i
Cross-Site Request Forgery (CSRF) vulnerability in creativethemeshq Blocksy blocksy.0.22. Rated medium severity (CVSS 4.
EUVD-2026-35379
GHSA-r622-c48h-h6qq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB