WP REST API Security Security & Risk Analysis

wordpress.org/plugins/wp-rest-api-security

Provides a UI to control which REST API endpoints are enabled and which require authentication.

10 active installs v1.1.2 PHP 7.0+ WP 4.9+ Updated Aug 12, 2019
apirestsecurity
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WP REST API Security Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The 'wp-rest-api-security' plugin v1.1.2 demonstrates a strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the potential attack surface. Furthermore, the code signals indicate a clean codebase with no dangerous functions, proper use of prepared statements for all SQL queries, and 100% of outputs being properly escaped. The lack of file operations and external HTTP requests further solidifies its secure design. The taint analysis showing zero flows with unsanitized paths reinforces this positive assessment.

The plugin's vulnerability history is equally impressive, with zero known CVEs, unpatched vulnerabilities, or recorded common vulnerability types. This suggests a commitment to secure development practices and a history of maintaining a secure codebase. However, the static analysis reports a complete absence of nonce checks and capability checks. While the current version might not have exposed entry points that necessitate these, the lack of these fundamental security mechanisms in the plugin's architecture is a potential concern. If future versions introduce new features or entry points, the absence of these checks could become a significant vulnerability.

In conclusion, 'wp-rest-api-security' v1.1.2 appears to be a secure plugin with a clean codebase and no historical vulnerabilities. Its strengths lie in its minimal attack surface and adherence to secure coding practices like prepared statements and output escaping. The primary weakness is the complete lack of nonce and capability checks, which, while not currently exploited due to the plugin's limited functionality, represents a potential risk if the plugin evolves.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

WP REST API Security Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

WP REST API Security Release Timeline

No version history available.
Code Analysis
Analyzed Mar 17, 2026

WP REST API Security Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
0 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0
Attack Surface

WP REST API Security Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_enqueue_scriptswp-rest-api-security.php:54
actionadmin_initwp-rest-api-security.php:70
actionadmin_menuwp-rest-api-security.php:108
filterrest_pre_dispatchwp-rest-api-security.php:353
actionwp_rest_api_security_endpoint_disabledwp-rest-api-security.php:369
actionwp_rest_api_security_endpoint_privatewp-rest-api-security.php:385
Maintenance & Trust

WP REST API Security Maintenance & Trust

Maintenance Signals

WordPress version tested5.1.22
Last updatedAug 12, 2019
PHP min version7.0
Downloads1K

Community Trust

Rating80/100
Number of ratings1
Active installs10
Developer Profile

WP REST API Security Developer Profile

invisnet

8 plugins · 76K total installs

71
trust score
Avg Security Score
88/100
Avg Patch Time
1793 days
View full developer profile
Detection Fingerprints

How We Detect WP REST API Security

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-rest-api-security/style.css/wp-content/plugins/wp-rest-api-security/script.js
Script Paths
/wp-content/plugins/wp-rest-api-security/script.js
Version Parameters
wp-rest-api-security/style.css?ver=wp-rest-api-security/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wp-rest-api-securityendpoint
HTML Comments
<!-- WP REST API Security --><!-- All REST endpoints are disabled by default; <strong>Enable</strong> only those you need for your application. --><!-- All enabled REST endpoints require authentication by default; make <strong>Public</strong> only those you need to expose. --><!-- For more information: -->+1 more
Data Attributes
name="wp-rest-api-security[enabled][%s]"name="wp-rest-api-security[public][%s]"class="enabled %s"class="public %s"
JS Globals
window.wp_rest_api_security
FAQ

Frequently Asked Questions about WP REST API Security