JWT Authentication for WP REST APIs

wp-rest-api-authentication
medium
v5.0.1Score: 47 / 10010,000+ installs4.4/5 (75 ratings)Analyzed 2026-11-22

Secure and protect WordPress REST API from unauthorized access using JWT token, Basic Authentication, API Key, OAuth 2, or external token.

miniOrange · Tested: WP 7.1.5 · Requires: WP 3.0.1 · PHP 5.6+ · Updated: 2026-11-12 4:48am GMT

Why 47/100? Score breakdown

Static-analysis warning density+10
Input parameters (attack surface size)+10
Endpoints reachable without login+10
Direct $_GET / $_POST / $_REQUEST use+10
OWASP-pattern findings+5
REST API routes+2

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 JWT Authentication for WP REST APIs 5.0.1 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.