Like Post Block Security & Risk Analysis

wordpress.org/plugins/like-post-block

Add a button to like any post type.

90 active installs v1.5.0 PHP 7.4+ WP 6.2+ Updated May 3, 2025
blockheartlikelike-post
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Like Post Block Safe to Use in 2026?

Generally Safe

Score 100/100

Like Post Block has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11mo ago
Risk Assessment

The "like-post-block" plugin version 1.5.0 exhibits a strong security posture based on the provided static analysis. The absence of dangerous functions, raw SQL queries, unescaped output, file operations, and external HTTP requests are all positive indicators. Furthermore, the presence of nonce checks and the lack of reported vulnerabilities in its history suggest a commitment to secure coding practices by the developers.

While the attack surface is relatively small with only 6 AJAX handlers, the critical point of concern is the lack of capability checks on these entry points. This means that potentially any logged-in user, regardless of their role or permissions, could interact with these AJAX handlers, which could be exploited if the functionality they trigger is sensitive or can be abused. The absence of any taint analysis findings is also positive, indicating no obvious pathways for malicious input to lead to vulnerabilities.

Overall, the plugin appears to be well-developed from a security perspective, with excellent use of prepared statements and output escaping. However, the absence of capability checks on its AJAX handlers represents a notable, albeit not critical, security weakness that should be addressed to further harden the plugin.

Key Concerns

  • AJAX handlers lack capability checks
Vulnerabilities
None known

Like Post Block Security Vulnerabilities

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

Like Post Block Code Analysis

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

Output Escaping

100% escaped26 total outputs
Attack Surface

Like Post Block Attack Surface

Entry Points6
Unprotected0

AJAX Handlers 6

noprivwp_ajax_rolpb_like_postincludes\class-rolpb-like.php:18
authwp_ajax_rolpb_like_postincludes\class-rolpb-like.php:19
noprivwp_ajax_rolpb_unlike_postincludes\class-rolpb-like.php:21
authwp_ajax_rolpb_unlike_postincludes\class-rolpb-like.php:22
noprivwp_ajax_rolpb_get_post_likesincludes\class-rolpb-like.php:24
authwp_ajax_rolpb_get_post_likesincludes\class-rolpb-like.php:25
WordPress Hooks 5
actioninitincludes\class-rolpb-block.php:18
filterrender_blockincludes\class-rolpb-block.php:19
actionadmin_initincludes\class-rolpb-meta-columns.php:18
actionpre_get_postsincludes\class-rolpb-meta-columns.php:19
actionrest_api_initincludes\class-rolpb-rest-api.php:18
Maintenance & Trust

Like Post Block Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 3, 2025
PHP min version7.4
Downloads3K

Community Trust

Rating100/100
Number of ratings2
Active installs90
Developer Profile

Like Post Block Developer Profile

Roel Magdaleno

5 plugins · 2K total installs

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

How We Detect Like Post Block

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/like-post-block/public/js/rolpb-like.min.js
Version Parameters
rolpb-like.min.js?ver=wp_enqueue_script('lpb-like', 'public/js/rolpb-like.min.js', array(), ROLPB_VERSION, true)

HTML / DOM Fingerprints

Data Attributes
data-icondata-icon-widthdata-icon-color-valuedata-limitdata-unlimiteddata-like-unlike+3 more
JS Globals
ROLPB
REST Endpoints
/wp-json/rolpb/v1/like/wp-json/rolpb/v1/unlike/wp-json/rolpb/v1/get-likes
FAQ

Frequently Asked Questions about Like Post Block