
Disable REST API Security & Risk Analysis
wordpress.org/plugins/disable-json-apiDisable the use of the REST API on your website to site users. Now with User Role support!
Is Disable REST API Safe to Use in 2026?
Generally Safe
Score 85/100Disable REST API has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The 'disable-json-api' plugin version 1.8 exhibits a strong security posture based on the provided static analysis. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events significantly limits its attack surface. The code signals further reinforce this, with no dangerous functions, all SQL queries using prepared statements, and no file operations or external HTTP requests. The presence of nonce and capability checks, even if only one each, indicates an awareness of security best practices.
The taint analysis reveals no critical or high severity flows with unsanitized paths, which is a very positive sign. The vulnerability history is also clean, with no recorded CVEs, further suggesting a well-maintained and secure plugin. The only area that could be improved is the output escaping, with nearly half of the outputs not being properly escaped. While this doesn't present an immediate critical risk given the limited attack surface, it is a practice that should be addressed to further harden the plugin against potential future vulnerabilities or more complex attack vectors.
In conclusion, version 1.8 of 'disable-json-api' appears to be a secure plugin with a minimal attack surface and robust coding practices. The lack of vulnerabilities and the clean taint analysis are excellent indicators. The only noted concern is the output escaping, which is a minor point in the context of the plugin's overall design and lack of exposed entry points. This plugin seems to be effectively achieving its stated purpose of disabling the JSON API with a low security risk.
Key Concerns
- Nearly half of outputs are not properly escaped
Disable REST API Security Vulnerabilities
Disable REST API Code Analysis
Output Escaping
Data Flow Analysis
Disable REST API Attack Surface
WordPress Hooks 8
Maintenance & Trust
Disable REST API Maintenance & Trust
Maintenance Signals
Community Trust
Disable REST API Alternatives
Turn Off REST API
turn-off-rest-api
Prevents unauthorized requests from using the WP REST API.
JWT Authentication for WP REST API
jwt-authentication-for-wp-rest-api
Extends the WP REST API using JSON Web Tokens Authentication as an authentication method.
Disable WP REST API
disable-wp-rest-api
Disables the WP REST API for visitors not logged into WordPress.
WordPress REST API (Version 2)
rest-api
Access your site's data through an easy-to-use HTTP REST API. (Version 2)
WP REST API – OAuth 1.0a Server
rest-api-oauth1
Connect applications to your WordPress site without ever giving away your password.
Disable REST API Developer Profile
5 plugins · 90K total installs
How We Detect Disable REST API
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/disable-json-api/css/admin.css/wp-content/plugins/disable-json-api/js/admin-footer.js/wp-content/plugins/disable-json-api/js/admin-header.js/wp-content/plugins/disable-json-api/js/admin-header.js/wp-content/plugins/disable-json-api/js/admin-footer.jsdisable-json-api/css/admin.css?ver=disable-json-api/js/admin-header.js?ver=disable-json-api/js/admin-footer.js?ver=HTML / DOM Fingerprints
/wp-json/