Block Logic – Full Block Display Control Security & Risk Analysis

wordpress.org/plugins/block-logic

Block Logic adds a "Block Logic" field to the block editor, that lets you show or hide any block based on conditions.

300 active installs v2.1.5 PHP 5.6+ WP 6.5+ Updated Jan 5, 2026
blockconditionalconditionslogicvisibility
98
A · Safe
CVEs total1
Unpatched0
Last CVEMar 21, 2025
Download
Safety Verdict

Is Block Logic – Full Block Display Control Safe to Use in 2026?

Generally Safe

Score 98/100

Block Logic – Full Block Display Control has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Mar 21, 2025Updated 2mo ago
Risk Assessment

The block-logic plugin v2.1.5 exhibits a mixed security posture. On the positive side, the static analysis reveals excellent practices regarding SQL queries, output escaping, and the absence of file operations or external HTTP requests. The presence of nonce and capability checks, along with the lack of dangerous functions, are also strong indicators of secure coding. However, a significant concern is the presence of one AJAX handler that lacks authentication checks, creating a direct entry point into the plugin without proper authorization.

Taint analysis shows no identified flows with unsanitized paths, which is a positive sign that data entered into the plugin is likely handled securely. The vulnerability history indicates a past high-severity vulnerability related to 'Improper Control of Generation of Code ('Code Injection')', which is a serious type of flaw. Although currently unpatched CVEs are zero, the existence of past high-severity issues, especially code injection, warrants caution and suggests a potential for recurring complex vulnerabilities.

In conclusion, while the current version of block-logic demonstrates good adherence to many security best practices, the unprotected AJAX handler represents a clear and present risk. Coupled with the plugin's history of a high-severity code injection vulnerability, administrators should be vigilant. Addressing the unprotected AJAX endpoint is paramount to improving the plugin's overall security, especially given its past.

Key Concerns

  • Unprotected AJAX handler
  • History of high severity vulnerability (Code Injection)
Vulnerabilities
1

Block Logic – Full Block Display Control Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

CVE-2025-2303high · 8.8Improper Control of Generation of Code ('Code Injection')

Block Logic <= 1.0.8 - Authenticated (Contributor+) Remote Code Execution

Mar 21, 2025 Patched in 2.0.0 (291d)
Code Analysis
Analyzed Mar 16, 2026

Block Logic – Full Block Display Control Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
2 escaped
Nonce Checks
1
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

100% escaped2 total outputs
Attack Surface
1 unprotected

Block Logic – Full Block Display Control Attack Surface

Entry Points1
Unprotected1

AJAX Handlers 1

authwp_ajax_block_logic_evaluateblock-logic.php:134
WordPress Hooks 5
actionwp_loadedblock-logic.php:51
filterrest_pre_dispatchblock-logic.php:86
actioninitblock-logic.php:94
actionenqueue_block_assetsblock-logic.php:131
filterrender_blockblock-logic.php:968
Maintenance & Trust

Block Logic – Full Block Display Control Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 5, 2026
PHP min version5.6
Downloads5K

Community Trust

Rating100/100
Number of ratings13
Active installs300
Developer Profile

Block Logic – Full Block Display Control Developer Profile

landwire

3 plugins · 1K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
154 days
View full developer profile
Detection Fingerprints

How We Detect Block Logic – Full Block Display Control

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/block-logic/build/css/block-logic.css/wp-content/plugins/block-logic/build/js/block-logic.js
Script Paths
/wp-content/plugins/block-logic/build/js/block-logic.js
Version Parameters
block-logic/style.css?ver=block-logic/script.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-block-logic
JS Globals
BlockLogicData
REST Endpoints
/wp-json/block-logic/v1/evaluate
FAQ

Frequently Asked Questions about Block Logic – Full Block Display Control