WP-REST-API V2 Menus Security & Risk Analysis

wordpress.org/plugins/wp-rest-api-v2-menus

Adding menus endpoints on WP REST API v2

3K active installs v0.12.1 PHP + WP 4.4+ Updated Nov 9, 2022
apijsonjson-rest-apimenu-routesmenus
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WP-REST-API V2 Menus Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 3yr ago
Risk Assessment

The 'wp-rest-api-v2-menus' plugin version 0.12.1 exhibits a concerning security posture primarily due to its exposed attack surface. The static analysis reveals a significant number of REST API routes that lack any permission callbacks, meaning they are accessible without proper authentication or authorization checks. This creates a direct pathway for potential attackers to interact with plugin functionalities, even if the plugin itself doesn't handle dangerous functions or SQL queries directly. The absence of nonce checks and capability checks further exacerbates this risk, leaving these endpoints vulnerable to various attacks like unauthorized data access or manipulation if the endpoints themselves perform sensitive operations.

Despite the identified issues with the attack surface, the plugin demonstrates good practices in other areas. There are no dangerous functions being used, all SQL queries are prepared statements, and output escaping is handled correctly, indicating a degree of care in preventing common code execution and injection vulnerabilities. The vulnerability history is also clean, with no recorded CVEs, suggesting that this specific version (and potentially previous ones) has not been publicly exploited or found to have critical flaws. However, the lack of historical vulnerabilities could also be attributed to the plugin not having a large user base or being extensively tested for security. The primary weakness remains the open REST API endpoints, which, without further context on what these endpoints do, represent a significant potential risk.

Key Concerns

  • REST API routes without permission callbacks
  • Total unprotected entry points
  • No nonce checks on entry points
  • No capability checks on entry points
Vulnerabilities
None known

WP-REST-API V2 Menus Security Vulnerabilities

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

WP-REST-API V2 Menus Code Analysis

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

Output Escaping

100% escaped2 total outputs
Attack Surface
4 unprotected

WP-REST-API V2 Menus Attack Surface

Entry Points4
Unprotected4

REST API Routes 4

GET/wp-json/menus/v1/menuswp-rest-api-v2-menus.php:265
GET/wp-json/menus/v1/menus/(?P<id>[a-zA-Z0-9_-]+)wp-rest-api-v2-menus.php:271
GET/wp-json/menus/v1/locations/(?P<id>[a-zA-Z0-9_-]+)wp-rest-api-v2-menus.php:277
GET/wp-json/menus/v1/locationswp-rest-api-v2-menus.php:283
WordPress Hooks 1
actionrest_api_initwp-rest-api-v2-menus.php:264
Maintenance & Trust

WP-REST-API V2 Menus Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedNov 9, 2022
PHP min version
Downloads165K

Community Trust

Rating100/100
Number of ratings6
Active installs3K
Developer Profile

WP-REST-API V2 Menus Developer Profile

thebatclaudio

1 plugin · 3K 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-REST-API V2 Menus

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-v2-menus/wp-rest-api-v2-menus.php

HTML / DOM Fingerprints

REST Endpoints
/wp-json/menus/v1/menus/wp-json/menus/v1/menus/(?P<id>[a-zA-Z0-9_-]+)/wp-json/menus/v1/locations/(?P<id>[a-zA-Z0-9_-]+)
FAQ

Frequently Asked Questions about WP-REST-API V2 Menus