
API REST Posts Security & Risk Analysis
wordpress.org/plugins/api-rest-postsAdds REST API endpoints for latest posts and latest posts by category, with configurable date format and excerpt length.
Is API REST Posts Safe to Use in 2026?
Generally Safe
Score 100/100API REST Posts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
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
API REST Posts Security Vulnerabilities
API REST Posts Release Timeline
API REST Posts Code Analysis
Output Escaping
API REST Posts Attack Surface
REST API Routes 2
WordPress Hooks 3
Maintenance & Trust
API REST Posts Maintenance & Trust
Maintenance Signals
Community Trust
API REST Posts Alternatives
Simple Category Posts
simple-seo-categories-posts
A plugin to display posts in a widget with title, thumb, excerpt, date and author.
Copypress Rest API
copypress-rest-api
Extend the WordPress REST API with custom endpoints for managing posts, categories, tags, post types, and taxonomies.
Archive Post Order Plus
archive-post-order-plus
A plugin that sets the display order of posts. 投稿の表示順を設定するプラグイン。
ENL Newsletter
enl-newsletter
Easy to create multiple newsletters containing the blog latest posts.
List category posts
list-category-posts
Very customizable plugin to list posts by category (or tag, author and more) in a post, page or widget. Uses the [catlist] shortcode to select posts.
API REST Posts Developer Profile
7 plugins · 1K total installs
How We Detect API REST Posts
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
HTML / DOM Fingerprints
/wp-json/last-post/v2/category/(?P<id>\d+)/numberposts/(?P<number>\d+)/wp-json/last-post/v2/numberposts/(?P<number>\d+)