REST API blocks Security & Risk Analysis

wordpress.org/plugins/rest-api-blocks

Add gutenberg blocks data into the post / page REST API endpoints.

200 active installs v2.0.0 PHP 7.4+ WP 5.9+ Updated Jan 3, 2026
apiblocksgutenbergrest-apiwp-json
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is REST API blocks Safe to Use in 2026?

Generally Safe

Score 100/100

REST API blocks has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4mo ago
Risk Assessment

The "rest-api-blocks" v2.0.0 plugin exhibits an excellent security posture based on the provided static analysis and vulnerability history. The code analysis reveals no exposed AJAX handlers, REST API routes, shortcodes, or cron events that lack proper authentication or permission checks, indicating a well-contained attack surface. Furthermore, the plugin demonstrates strong secure coding practices by exclusively using prepared statements for SQL queries, properly escaping all output, and avoiding dangerous functions, file operations, and external HTTP requests. The absence of any known CVEs or historical vulnerabilities further solidifies its secure reputation.

While the static analysis indicates a highly secure implementation, the complete absence of taint analysis flows is noteworthy. Ideally, even secure plugins would have some analyzed flows to confirm sanitization. The plugin also doesn't implement any nonce checks or capability checks, which are standard security measures for WordPress plugins, especially for interactions that might modify data. However, given the zero reported entry points and the overall clean code signals, these omissions do not appear to present an immediate or significant risk in this specific version. The plugin's strengths lie in its minimal attack surface and adherence to core secure coding principles, with its primary weakness being the lack of any recorded vulnerability history, which prevents a full assessment of its resilience against past threats.

Key Concerns

  • No nonce checks implemented
  • No capability checks implemented
Vulnerabilities
None known

REST API blocks Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

REST API blocks Release Timeline

v2.0.0Current
v1.0.2
v1.0.1
v1.0.0
v0.5.0
v0.4.0
v0.3.2
v0.3.1
v0.3.0
v0.2.6
v0.2.5
v0.2.4
v0.2.2
v0.2.1
Code Analysis
Analyzed Mar 16, 2026

REST API blocks Code Analysis

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

Output Escaping

100% escaped2 total outputs
Attack Surface

REST API blocks Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionrest_api_initsrc\REST_Blocks.php:36
actionadmin_noticeswp-rest-blocks.php:46
actionplugins_loadedwp-rest-blocks.php:70
Maintenance & Trust

REST API blocks Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 3, 2026
PHP min version7.4
Downloads7K

Community Trust

Rating100/100
Number of ratings2
Active installs200
Developer Profile

REST API blocks Developer Profile

Jonny Harris

5 plugins · 8K total installs

86
trust score
Avg Security Score
88/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect REST API blocks

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/rest-api-blocks/build/index.js/wp-content/plugins/rest-api-blocks/build/index.asset.php/wp-content/plugins/rest-api-blocks/build/style-index.css/wp-content/plugins/rest-api-blocks/build/editor.css
Script Paths
/wp-content/plugins/rest-api-blocks/build/index.js
Version Parameters
rest-api-blocks/build/index.js?ver=rest-api-blocks/build/index.asset.phprest-api-blocks/build/style-index.css?ver=rest-api-blocks/build/editor.css?ver=

HTML / DOM Fingerprints

CSS Classes
wp-block-wp-rest-blocks-rest-api-blocks
Data Attributes
data-blockdata-attributes
REST Endpoints
/wp-json/wp/v2/blocks/wp-json/wp/v2/pages/wp-json/wp/v2/posts/wp-json/wp/v2/widgets
FAQ

Frequently Asked Questions about REST API blocks