API REST Post Security & Risk Analysis

wordpress.org/plugins/api-rest-posts

Permite mostrar los ultimos posts y posts por categoria

10 active installs v1.1 PHP 5.2+ WP 5.2+ Updated Aug 26, 2021
api-restapi-rest-postsposts-por-categoriarest-apiultimos-posts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is API REST Post Safe to Use in 2026?

Generally Safe

Score 85/100

API REST Post 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 "api-rest-posts" plugin, version 1.1, exhibits a concerning security posture despite a lack of recorded vulnerabilities. The static analysis reveals a significant attack surface consisting of two REST API routes, both of which completely lack permission callbacks. This means any authenticated user, regardless of their role or capabilities, can potentially access and interact with these endpoints. Furthermore, all identified output operations (7 in total) are not properly escaped, creating a high risk of Cross-Site Scripting (XSS) vulnerabilities. This lack of output sanitization is a critical weakness that could be exploited by attackers to inject malicious scripts, leading to session hijacking, defacement, or other harmful actions.

The absence of dangerous functions, SQL injection risks (all queries use prepared statements), file operations, external HTTP requests, and taint flows with unsanitized paths are positive indicators. The plugin also demonstrates a lack of bundled libraries, which can sometimes introduce outdated components. However, these strengths are overshadowed by the critical issues of unprotected REST API endpoints and the pervasive lack of output escaping. The vulnerability history shows no known CVEs, which might suggest it hasn't been a target or previous versions were less exposed. Nevertheless, the inherent weaknesses in the current version create a substantial risk profile.

In conclusion, while the plugin avoids common pitfalls like raw SQL or bundled vulnerable libraries, the unprotected REST API endpoints and widespread unescaped output present immediate and serious security risks. The lack of authentication and sanitization on critical entry points makes it a prime target for attackers. Users of this plugin should be aware of these significant security flaws and consider mitigating them or avoiding the plugin altogether.

Key Concerns

  • REST API routes without permission callbacks
  • No output escaping
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

API REST Post Security Vulnerabilities

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

API REST Post Release Timeline

No version history available.
Code Analysis
Analyzed Apr 16, 2026

API REST Post Code Analysis

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

Output Escaping

0% escaped7 total outputs
Attack Surface
2 unprotected

API REST Post Attack Surface

Entry Points2
Unprotected2

REST API Routes 2

GET/wp-json/last-post/v2/category/(?P<id>\d+)/numberposts/(?P<number>\d+)api-rest-posts.php:107
GET/wp-json/last-post/v2/numberposts/(?P<number>\d+)api-rest-posts.php:111
WordPress Hooks 3
actionadmin_menuapi-rest-posts.php:15
actionadmin_initapi-rest-posts.php:16
actionrest_api_initapi-rest-posts.php:106
Maintenance & Trust

API REST Post Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedAug 26, 2021
PHP min version5.2
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

API REST Post Developer Profile

Miguel Fuentes

6 plugins · 1K total installs

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

How We Detect API REST Post

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

Asset Fingerprints

HTML / DOM Fingerprints

REST Endpoints
/wp-json/last-post/v2/category/(?P<id>\d+)/numberposts/(?P<number>\d+)/wp-json/last-post/v2/numberposts/(?P<number>\d+)
FAQ

Frequently Asked Questions about API REST Post