Disable REST API

disable-json-api
high
vv1.8Score: 55 / 10080,000+ installs4.8/5 (38 ratings)Analyzed 2026-11-22

Disable the use of the REST API on your website to site users. Now with User Role support!

Dave McHale · Tested: WP 6.3.15 · Requires: WP 4.9 · PHP 5.6+ · Updated: 2023-09-14 12:26am GMT

Why 55/100? Score breakdown

Not updated recently+40
Direct $_GET / $_POST / $_REQUEST use+10
OWASP-pattern findings+5

The risk score (0–100) estimates exposure; it is not a count of confirmed vulnerabilities. Large, well-maintained plugins score high because they expose more code. Levels: critical ≥ 70, high ≥ 50, medium ≥ 30, low ≥ 10, minimal below 10.

The full analysis of Disable REST API v1.8 covers its attack surface (input parameters, endpoints, REST routes), static analysis (PHPCS security rules, PHPStan, Phan), OWASP Top 10 findings, known CVEs and CISA KEV status. It loads here when JavaScript is enabled. Raw data: JSON.