WP Custom REST API Generator Security & Risk Analysis

wordpress.org/plugins/wp-custom-rest-api-generator

WP Custom REST API Generator plugin enables the user to show/hide varied meta information of Posts in WordPress REST API.

70 active installs v1.0.5 PHP + WP 5.0+ Updated Mar 20, 2022
adminapirestrest-apiwp-api
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Custom REST API Generator Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The plugin "wp-custom-rest-api-generator" v1.0.5 exhibits a generally positive security posture based on the static analysis provided. The complete absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits its attack surface. Furthermore, the code signals indicate a good practice of using prepared statements for SQL queries and the presence of capability checks. The lack of dangerous functions, file operations, and external HTTP requests is also a strong positive indicator. However, a concerning aspect is the low percentage of properly escaped output (20%), suggesting potential vulnerabilities to cross-site scripting (XSS) if user-controlled data is displayed without adequate sanitization. The absence of taint analysis results and vulnerability history means we cannot assess risks from complex data flows or past security issues. Overall, the plugin is built with a minimal attack surface and some secure coding practices, but the insufficient output escaping is a notable weakness that could be exploited.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

WP Custom REST API Generator Security Vulnerabilities

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

WP Custom REST API Generator Code Analysis

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

Output Escaping

20% escaped10 total outputs
Attack Surface

WP Custom REST API Generator Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_menuadmin\wpcrag_admin_menu.php:34
actionrest_api_initadmin\wpcrag_settings_api_function.php:49
actionadmin_initadmin\wpcrag_settings_register.php:56
actionadmin_enqueue_scriptswp_custom_rest_api_generator.php:49
Maintenance & Trust

WP Custom REST API Generator Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedMar 20, 2022
PHP min version
Downloads5K

Community Trust

Rating90/100
Number of ratings2
Active installs70
Developer Profile

WP Custom REST API Generator Developer Profile

centangle

2 plugins · 170 total installs

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

How We Detect WP Custom REST API Generator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-custom-rest-api-generator/includes/css/fontawesome-free-5.6.1-web/css/all.css/wp-content/plugins/wp-custom-rest-api-generator/includes/css/style.css/wp-content/plugins/wp-custom-rest-api-generator/includes/js/main.js
Script Paths
/wp-content/plugins/wp-custom-rest-api-generator/includes/js/main.js
Version Parameters
wp-custom-rest-api-generator/includes/css/fontawesome-free-5.6.1-web/css/all.css?ver=wp-custom-rest-api-generator/includes/css/style.css?ver=wp-custom-rest-api-generator/includes/js/main.js?ver=

HTML / DOM Fingerprints

JS Globals
wpcrag_get_author_metawpcrag_get_featured_imagewpcrag_get_post_metawpcrag_get_taxonomieswpcrag_get_post_typeswpcrag_get_all_posts
REST Endpoints
/wp-json/wpcrag
FAQ

Frequently Asked Questions about WP Custom REST API Generator