{"id":"CVE-2026-8365","aliases":["CVE-2026-8365"],"related":[],"kind":"vulnerability","state":"published","title":"Blocksy <= 2.1.41 - Authenticated (Contributor+) PHP Object Injection via Deserialization of Untrusted Data via 'blocksy_meta' REST API Field","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"El tema Blocksy para WordPress es vulnerable a la inyección de objetos PHP que conduce a la ejecución remota de código a través del campo de la API REST 'blocksy_meta' y la migración de la base de datos V200 en versiones hasta la 2.1.35 inclusive. Esto se debe a una sanitización insuficiente de la entrada en la función blocksy_sanitize_post_meta_options(), que solo bloquea valores que contienen '<' o '>' y no evita que las cadenas de objetos PHP serializados se almacenen en los metadatos de las publicaciones, combinado con la función SearchReplacer::run_recursively() que deserializa incondicionalmente todos los valores de cadena a través de @unserialize() durante la migración sin restringir las clases permitidas. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador y superior, inyecten un objeto Blocksy\\RaiiPattern serializado en los metadatos de las publicaciones que, cuando la migración V200 se ejecuta en un sitio actualizado, es deserializado y activa RaiiPattern::__destruct(), que ejecuta callables PHP arbitrarios a través de call_user_func().","source":"nvd"}],"published":"2026-06-09T08:29:40.638Z","modified":"2026-07-23T08:10:00.137Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.1.41","status":"affected"}],"vendor":"creativethemeshq","product":"Blocksy","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/fd216743-ce8d-4632-9fd1-d63502c2dfcd?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/trunk/inc/classes/db-versioning/utils/db-search-replacer.php#L98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.41/inc/classes/db-versioning/utils/db-search-replacer.php#L98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/trunk/admin/helpers/meta-boxes.php#L104","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.41/admin/helpers/meta-boxes.php#L104","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/trunk/admin/helpers/validator.php#L75","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.41/admin/helpers/validator.php#L75","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/trunk/inc/classes/raii.php#L12","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.41/inc/classes/raii.php#L12","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.35/inc/classes/db-versioning/utils/db-search-replacer.php#L98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.35/admin/helpers/meta-boxes.php#L104","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.35/admin/helpers/validator.php#L75","tags":[],"sources":["cvelist","nvd"]},{"url":"https://themes.trac.wordpress.org/browser/blocksy/2.1.35/inc/classes/raii.php#L12","tags":[],"sources":["cvelist","nvd"]}],"credits":["Quốc Huy"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-09T12:55:53.628Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8365","url":"https://www.cve.org/CVERecord?id=CVE-2026-8365","licence":"CVE Terms of Use","modified":"2026-06-09T12:56:15.813Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8365","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8365","licence":"Public domain","modified":"2026-07-23T08:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:24.084Z","epss":{"score":0.01121,"percentile":0.67119,"date":"2026-12-01T12:00:22.000Z"}}