Disable WP REST API

disable-wp-rest-api
low
v2.6.9Score: 15 / 10030,000+ installs4.8/5 (36 ratings)Analyzed 2026-08-16

Disables the WP REST API for visitors not logged into WordPress.

Jeff Starr · Tested: WP 7.1 · Requires: WP 4.7 · PHP 5.6.20+ · Updated: 2026-08-10 3:28pm GMT

Why 15/100? Score breakdown

Direct $_GET / $_POST / $_REQUEST use+15

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 WP REST API 2.6.9 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.