JWT Authentication for WP REST API Security & Risk Analysis

wordpress.org/plugins/jwt-authentication-for-wp-rest-api

Extends the WP REST API using JSON Web Tokens Authentication as an authentication method.

60K active installs v1.5.0 PHP 7.4.0+ WP 4.2+ Updated Feb 18, 2026
json-web-authenticationjwtoauthrest-apiwp-api
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is JWT Authentication for WP REST API Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 1mo ago
Risk Assessment

The jwt-authentication-for-wp-rest-api plugin version 1.5.0 demonstrates a generally strong security posture based on the provided static analysis and vulnerability history. The absence of direct entry points like AJAX handlers and REST API routes without proper permission callbacks, along with the lack of critical code signals such as dangerous functions and raw SQL queries, are positive indicators. The plugin also shows good practices in output escaping, with 95% of outputs being properly handled, and utilizes prepared statements for its single SQL query, which mitigates the risk of SQL injection.

However, there are a few areas that warrant attention. The presence of a cron event, while not inherently insecure, represents a potential execution point that could be exploited if not properly secured or if it interacts with other components in an unexpected way. Furthermore, the plugin performs three external HTTP requests, which could be a vector for various attacks if the target URLs are compromised or if the data sent/received is not validated or escaped thoroughly. The lack of nonce checks on any entry points, though zero are identified, is a missed opportunity for a common WordPress security layer, and the limited capability checks (only two) suggest that authentication and authorization might be less granular than ideal.

Historically, the plugin has a clean record with zero known CVEs of any severity, indicating a consistent effort towards security. This, combined with the current analysis, suggests the developers are generally security-conscious. The strengths lie in the careful handling of direct code execution paths and data sanitization. The weaknesses, though minor in this version, lie in potential indirect execution points like cron jobs and external requests, and the limited use of WordPress's built-in security mechanisms like nonces. Overall, the plugin appears relatively secure for version 1.5.0, but ongoing vigilance is always recommended, especially concerning external dependencies and cron job functionalities.

Key Concerns

  • Cron event present
  • External HTTP requests (3)
  • No nonce checks
  • Limited capability checks (2)
Vulnerabilities
None known

JWT Authentication for WP REST API Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

JWT Authentication for WP REST API Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

95% escaped22 total outputs
Attack Surface

JWT Authentication for WP REST API Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 16
actionadmin_headadmin\class-jwt-auth-admin.php:569
filterscript_loader_tagadmin\class-jwt-auth-admin.php:601
actionadmin_footeradmin\class-jwt-auth-admin.php:636
actionplugins_loadedincludes\class-jwt-auth.php:150
actionrest_api_initincludes\class-jwt-auth.php:161
filterrest_api_initincludes\class-jwt-auth.php:162
filterrest_pre_dispatchincludes\class-jwt-auth.php:163
filterdetermine_current_userincludes\class-jwt-auth.php:164
actionadmin_menuincludes\class-jwt-auth.php:175
actionadmin_enqueue_scriptsincludes\class-jwt-auth.php:176
actionadmin_initincludes\class-jwt-auth.php:177
actionadmin_initincludes\class-jwt-auth.php:178
actionrest_api_initincludes\class-jwt-auth.php:179
actionrest_api_initincludes\class-jwt-auth.php:180
actionadmin_noticesincludes\class-jwt-auth.php:181
actionjwt_auth_share_datajwt-auth.php:65

Scheduled Events 1

jwt_auth_share_data
Maintenance & Trust

JWT Authentication for WP REST API Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 18, 2026
PHP min version7.4.0
Downloads894K

Community Trust

Rating88/100
Number of ratings53
Active installs60K
Developer Profile

JWT Authentication for WP REST API Developer Profile

tmeister

2 plugins · 63K total installs

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

How We Detect JWT Authentication for WP REST API

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/jwt-authentication-for-wp-rest-api/admin/css/jwt-auth-admin.css/wp-content/plugins/jwt-authentication-for-wp-rest-api/admin/js/jwt-auth-admin.js/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/css/jwt-auth-public.css/wp-content/plugins/jwt-authentication-for-wp-rest-api/public/js/jwt-auth-public.js
Version Parameters
jwt-authentication-for-wp-rest-api/admin/css/jwt-auth-admin.css?ver=jwt-authentication-for-wp-rest-api/admin/js/jwt-auth-admin.js?ver=jwt-authentication-for-wp-rest-api/public/css/jwt-auth-public.css?ver=jwt-authentication-for-wp-rest-api/public/js/jwt-auth-public.js?ver=

HTML / DOM Fingerprints

CSS Classes
jwt-auth-admin-settings-pagejwt-auth-settings-sectionjwt-auth-notice-wrapper
Data Attributes
data-jwt-auth-settings
JS Globals
jwtAuthAdminjwtAuthAdminSettingsjwtAuthPublicjwtAuthToken
REST Endpoints
/wp-json/jwt-auth/v1/admin/settings/wp-json/jwt-auth/v1/admin/status/wp-json/jwt-auth/v1/admin/survey/wp-json/jwt-auth/v1/admin/survey/status/wp-json/jwt-auth/v1/admin/survey/complete/wp-json/jwt-auth/v1/admin/survey/dismissal/wp-json/jwt-auth/v1/admin/dashboard/wp-json/jwt-auth/v1/users/tokens/wp-json/jwt-auth/v1/users/login/wp-json/jwt-auth/v1/users/logout/wp-json/jwt-auth/v1/token/validate/wp-json/jwt-auth/v1/token/refresh
FAQ

Frequently Asked Questions about JWT Authentication for WP REST API