Image Comparison Block Security & Risk Analysis

wordpress.org/plugins/image-comparison-block

A block to let your visitors compare between two images. After, before, horizontal, and vertical comparison.

1K active installs v1.0.1 PHP 7.0.0+ WP 5.3.2+ Updated Oct 12, 2021
afterbeforeblockcomparisonslider
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Image Comparison Block Safe to Use in 2026?

Generally Safe

Score 85/100

Image Comparison Block 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 "image-comparison-block" plugin version 1.0.1 demonstrates a strong security posture based on the provided static analysis. The absence of any detected dangerous functions, SQL injection vulnerabilities (all queries use prepared statements), and improper output escaping suggests good coding practices regarding common web application security threats. Furthermore, the lack of file operations and external HTTP requests minimizes potential attack vectors. The plugin also exhibits no recorded vulnerabilities in its history, including critical or high severity ones, indicating a well-maintained and secure codebase over time.

However, the static analysis also reveals a significant area of concern: the complete absence of nonce checks and capability checks. This means that all of the plugin's entry points, even though there are none currently, are entirely unprotected by WordPress's built-in security mechanisms for authentication and authorization. While the current attack surface is zero, any future addition of AJAX handlers, REST API routes, or shortcodes without these checks would introduce a critical security weakness, potentially allowing unauthorized users to execute actions or access data.

In conclusion, while the plugin is commendably free of known vulnerabilities and demonstrates secure coding for data handling, the lack of authentication and authorization checks presents a latent but substantial risk. If the plugin's functionality were to expand in the future, the current code analysis suggests it would be highly vulnerable without these essential security controls.

Key Concerns

  • No Nonce checks found
  • No Capability checks found
Vulnerabilities
None known

Image Comparison Block Security Vulnerabilities

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

Image Comparison Block Code Analysis

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

Image Comparison Block Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actioninitimage-comparison.php:93
Maintenance & Trust

Image Comparison Block Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedOct 12, 2021
PHP min version7.0.0
Downloads8K

Community Trust

Rating100/100
Number of ratings4
Active installs1K
Developer Profile

Image Comparison Block Developer Profile

Achal Jain

8 plugins · 4K total installs

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

How We Detect Image Comparison Block

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/image-comparison-block/build/index.js/wp-content/plugins/image-comparison-block/build/index.css/wp-content/plugins/image-comparison-block/assets/css/twentytwenty.css/wp-content/plugins/image-comparison-block/build/style-index.css/wp-content/plugins/image-comparison-block/assets/js/jquery.event.move.js/wp-content/plugins/image-comparison-block/assets/js/jquery.twentytwenty.js/wp-content/plugins/image-comparison-block/assets/js/image-comparison.js
Script Paths
build/index.jsassets/js/jquery.event.move.jsassets/js/jquery.twentytwenty.jsassets/js/image-comparison.js
Version Parameters
image-comparison-block/build/index.asset.php

HTML / DOM Fingerprints

CSS Classes
wp-block-ideabox-image-comparison
Data Attributes
data-orientation
JS Globals
ideaboxImageComparison
FAQ

Frequently Asked Questions about Image Comparison Block