
Block Logic – Full Block Display Control Security & Risk Analysis
wordpress.org/plugins/block-logicBlock Logic adds a "Block Logic" field to the block editor, that lets you show or hide any block based on conditions.
Is Block Logic – Full Block Display Control Safe to Use in 2026?
Generally Safe
Score 98/100Block Logic – Full Block Display Control has a strong security track record. Known vulnerabilities have been patched promptly.
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)
Block Logic – Full Block Display Control Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
Block Logic <= 1.0.8 - Authenticated (Contributor+) Remote Code Execution
Block Logic – Full Block Display Control Code Analysis
Output Escaping
Block Logic – Full Block Display Control Attack Surface
AJAX Handlers 1
WordPress Hooks 5
Maintenance & Trust
Block Logic – Full Block Display Control Maintenance & Trust
Maintenance Signals
Community Trust
Block Logic – Full Block Display Control Alternatives
Wicked Block Conditions
wicked-block-conditions
Show or hide blocks based on conditions.
Block Visibility — Conditional Visibility Control for the Block Editor
block-visibility
Easily show or hide any WordPress block. Schedule block visibility. Restrict blocks to specific screen sizes, user roles, post types, and more.
Visibility Logic for Elementor
visibility-logic-elementor
Conditional visibility for Elementor — show or hide widgets based on user role, ACF fields, device type, date & time, browser and more.
Visibility Controls for Editor Blocks
visibility-controls-for-editor-blocks
Easily hide or show Gutenberg blocks on mobile, tablet, and desktop devices using customizable breakpoints for responsive design.
Osom Block Visibility
osom-block-visibility
Osom Block Visibility lets you easily control block visibility from WordPress Block Editor.
Block Logic – Full Block Display Control Developer Profile
3 plugins · 1K total installs
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
/wp-content/plugins/block-logic/build/css/block-logic.css/wp-content/plugins/block-logic/build/js/block-logic.js/wp-content/plugins/block-logic/build/js/block-logic.jsblock-logic/style.css?ver=block-logic/script.js?ver=HTML / DOM Fingerprints
data-block-logicBlockLogicData/wp-json/block-logic/v1/evaluate