
Restricted Blocks – Conditional Visibility Settings for the Block Editor Security & Risk Analysis
wordpress.org/plugins/restricted-blocksRestricted Blocks is a WordPress plugin that allows you to restrict access to specific Gutenberg blocks based on a great variety of conditions.
Is Restricted Blocks – Conditional Visibility Settings for the Block Editor Safe to Use in 2026?
Generally Safe
Score 92/100Restricted Blocks – Conditional Visibility Settings for the Block Editor has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "restricted-blocks" plugin, version 1.13, exhibits a generally strong security posture based on the provided static analysis. A significant positive aspect is the absence of any unauthenticated entry points across its AJAX handlers and REST API routes, along with a high percentage of properly escaped outputs and the use of prepared statements for a majority of SQL queries. The plugin also demonstrates a commitment to security through numerous nonce and capability checks, indicating thoughtful development practices. Furthermore, the complete lack of recorded vulnerabilities, including CVEs, in its history is a very encouraging sign and suggests a well-maintained and stable codebase.
However, the analysis does highlight a couple of areas that warrant attention. The presence of two "flows with unsanitized paths" in the taint analysis, although not classified as critical or high severity, indicates a potential avenue for exploitation if user-supplied data is not handled with sufficient sanitization before being used in file operations or other sensitive contexts. While the overall number of entry points is low and all are protected, any potential for path traversal or file manipulation, however minor, should be a focus for improvement. The use of a bundled library (Select2) also presents a potential risk if it's not kept up-to-date with its own security patches, though no specific issues were flagged regarding this in the provided data.
In conclusion, "restricted-blocks" v1.13 is a well-secured plugin with a commendable history of no vulnerabilities and robust security checks. The main area for improvement lies in thoroughly reviewing and ensuring the sanitization of all user-influenced paths to eliminate the identified taint flows. This, combined with ongoing vigilance regarding bundled libraries, would further solidify its already impressive security standing.
Key Concerns
- Flows with unsanitized paths
Restricted Blocks – Conditional Visibility Settings for the Block Editor Security Vulnerabilities
Restricted Blocks – Conditional Visibility Settings for the Block Editor Code Analysis
Bundled Libraries
SQL Query Safety
Output Escaping
Data Flow Analysis
Restricted Blocks – Conditional Visibility Settings for the Block Editor Attack Surface
AJAX Handlers 2
REST API Routes 2
WordPress Hooks 17
Maintenance & Trust
Restricted Blocks – Conditional Visibility Settings for the Block Editor Maintenance & Trust
Maintenance Signals
Community Trust
Restricted Blocks – Conditional Visibility Settings for the Block Editor Alternatives
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.
Osom Block Visibility
osom-block-visibility
Osom Block Visibility lets you easily control block visibility from WordPress Block Editor.
Responsive Block Control – Hide blocks based on display width
responsive-block-control
Responsive Block Control adds responsive toggles to a "Visibility" panel of the block editor, to show or hide blocks according to screen width.
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.
Wicked Block Conditions
wicked-block-conditions
Show or hide blocks based on conditions.
Restricted Blocks – Conditional Visibility Settings for the Block Editor Developer Profile
13 plugins · 30K total installs
How We Detect Restricted Blocks – Conditional Visibility Settings for the Block Editor
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/restricted-blocks/admin/css/style.css/wp-content/plugins/restricted-blocks/admin/js/script.js/wp-content/plugins/restricted-blocks/blocks/build/index.js/wp-content/plugins/restricted-blocks/blocks/build/index.css/wp-content/plugins/restricted-blocks/public/css/style.css/wp-content/plugins/restricted-blocks/public/js/script.js/wp-content/plugins/restricted-blocks/shared/css/style.css/wp-content/plugins/restricted-blocks/shared/js/script.js/wp-content/plugins/restricted-blocks/admin/js/script.js/wp-content/plugins/restricted-blocks/blocks/build/index.js/wp-content/plugins/restricted-blocks/public/js/script.js/wp-content/plugins/restricted-blocks/shared/js/script.jsrestricted-blocks/admin/css/style.css?ver=restricted-blocks/admin/js/script.js?ver=restricted-blocks/blocks/build/index.js?ver=restricted-blocks/blocks/build/index.css?ver=restricted-blocks/public/css/style.css?ver=restricted-blocks/public/js/script.js?ver=restricted-blocks/shared/css/style.css?ver=restricted-blocks/shared/js/script.js?ver=HTML / DOM Fingerprints
daextrebl-admin-toolbar-item-linkdaextrebl-admin-toolbar-item-more-linkdaextrebl-block-editor-wrapper<!-- daextrebl --><!-- DO NOT MODIFY: generated by DAEXT Restricted Blocks -->data-daextrebl-iddata-daextrebl-block-namedata-daextrebl-restriction-typewindow.daextrebl/wp-json/daextrebl/v1/get_settings/wp-json/daextrebl/v1/save_settings[restricted_block][/restricted_block]