WP Image Mask Security & Risk Analysis

wordpress.org/plugins/wp-image-mask

This plugin adds the ability to set a mask to Gutenberg's image block or via shortcode [wp-image-mask].

200 active installs v3.1.3 PHP 7.3+ WP 6.0.1+ Updated May 9, 2025
gutenbergimagemaskshortcode
99
A · Safe
CVEs total1
Unpatched0
Last CVEMay 19, 2025
Safety Verdict

Is WP Image Mask Safe to Use in 2026?

Generally Safe

Score 99/100

WP Image Mask has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: May 19, 2025Updated 10mo ago
Risk Assessment

The wp-image-mask plugin v3.1.3 exhibits a mixed security posture. On the positive side, the static analysis reveals no dangerous functions, all SQL queries utilize prepared statements, and file operations and external HTTP requests are absent. The majority of output is properly escaped, and the total attack surface is minimal with only one shortcode entry point, which is reported as unprotected in the analysis. This suggests a generally careful approach to code development regarding common vulnerabilities like SQL injection and file manipulation.

However, the plugin's vulnerability history is a significant concern. It has one known medium severity CVE related to Cross-site Scripting (XSS), which was last recorded in 2025. While currently unpatched CVEs are reported as zero, the existence of past XSS vulnerabilities, even if resolved, indicates a potential for input sanitization issues. The lack of nonce checks and capability checks in the static analysis, coupled with an unprotected entry point (the shortcode), raises questions about the robustness of its security controls against unauthorized actions or data manipulation, especially if the shortcode's output is not perfectly sanitized in all contexts or if it processes user-supplied data.

In conclusion, while the plugin demonstrates good practices in areas like database interaction and avoiding risky functions, the past XSS vulnerability and the absence of explicit capability/nonce checks on its sole entry point warrant caution. The security team should verify that the historical XSS vulnerability has been definitively addressed and monitor for any future security advisories.

Key Concerns

  • Medium severity CVE with XSS history
  • No nonce checks
  • No capability checks
  • Unprotected entry point (shortcode)
  • Minor output escaping concern (8.8% not properly escaped)
Vulnerabilities
1

WP Image Mask Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-48235medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Image Mask <= 3.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting

May 19, 2025 Patched in 3.1.3 (11d)
Code Analysis
Analyzed Mar 16, 2026

WP Image Mask Code Analysis

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

Output Escaping

91% escaped11 total outputs
Attack Surface

WP Image Mask Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[wp-image-mask] inc\shortcode.php:13
WordPress Hooks 5
filterrender_blockinc\gutenberg-block.php:13
actioninitinc\init.php:16
actionwp_enqueue_scriptsinc\init.php:24
actionenqueue_block_editor_assetsinc\init.php:32
actionplugins_loadedwp-image-mask.php:29
Maintenance & Trust

WP Image Mask Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 9, 2025
PHP min version7.3
Downloads5K

Community Trust

Rating100/100
Number of ratings1
Active installs200
Developer Profile

WP Image Mask Developer Profile

Bogdan Bendziukov

7 plugins · 2K total installs

90
trust score
Avg Security Score
94/100
Avg Patch Time
9 days
View full developer profile
Detection Fingerprints

How We Detect WP Image Mask

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-image-mask/build/style-index.css/wp-content/plugins/wp-image-mask/build/index.js
Script Paths
/wp-content/plugins/wp-image-mask/build/index.js
Version Parameters
wp-image-mask/build/style-index.css?ver=wp-image-mask/build/index.js?ver=

HTML / DOM Fingerprints

CSS Classes
wp-image-maskhas-image-maskhas-custom-image-maskhas-image-mask-contain-fithas-image-mask-cover-fit
Data Attributes
data-wpim-plugin-dir-pathdata-wpim-plugin-dir-url
JS Globals
wpimGlobal
Shortcode Output
<figure class="wp-image-mask has-image-mask has-custom-image-mask<img src="
FAQ

Frequently Asked Questions about WP Image Mask