Blocksy <= 2.1.41 - Authenticated (Contributor+) PHP Object Injection via Deserialization of Untrusted Data via 'blocksy_meta' REST API Field

8.8
Deserialization of Untrusted Data
CVE CVE-2026-8365
CVSS 8.8 (High)
Publicly Published June 8, 2026
Last Updated June 9, 2026
Researcher Quốc Huy (jtwings) - Puramu

Description

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().

References

Share

Vulnerability Details for Blocksy

Software Type Theme
Software Slug blocksy (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.1.42, or a newer patched version
Affected Version
  • <= 2.1.41
Patched Version
  • 2.1.42

Recent vulnerabilities in Blocksy

# Title CVE ID CVSS Researchers Date
1 Blocksy <= 2.1.30 - Authenticated (Contributor+) Stored Cross-Site Scripting via `blocksy_meta` Fields CVE-2026-2583 6.4 Quốc Huy (jtwings) March 2, 2026
2 Blocksy <= 2.1.6 - Authenticated (Shop manager+) Stored Cross-Site Scripting CVE-2025-55713 5.5 SavPhill (Savphill) August 14, 2025
3 Blocksy <= 2.0.97 - Missing Authorization CVE-2025-47465 2.7 SavPhill (Savphill) May 7, 2025
4 Blocksy <= 2.0.77 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-11420 6.4 zer0gh0st December 4, 2024
5 Blocksy <= 2.0.22 - Cross-Site Request Forgery CVE-2024-37469 4.3 RE-ALTER July 1, 2024
6 Blocksy <= 2.0.50 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-5439 6.4 Ngô Thiên An (ancorn_) June 4, 2024
7 Blocksy <= 2.0.46 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-4943 6.4 Ngô Thiên An (ancorn_) May 20, 2024
8 Blocksy <= 2.0.42 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-4158 6.4 Ngô Thiên An (ancorn_) May 3, 2024
9 Blocksy <= 2.0.39 - Authenticated (Contributor+) Stored Cross-Site Scripting via About Me block CVE-2024-3747 6.4 Ngô Thiên An (ancorn_) April 24, 2024
10 Blocksy <= 2.0.33 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-32961 6.4 Joshua Chan April 23, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation