Image Widget Security & Risk Analysis

wordpress.org/plugins/image-widget

A simple image widget that uses the native WordPress media manager to add image widgets to your site.

100K active installs v4.4.11 PHP + WP 3.5+ Updated Nov 20, 2024
adbannerimagesidebarwidget
91
A · Safe
CVEs total1
Unpatched0
Last CVENov 22, 2024
Safety Verdict

Is Image Widget Safe to Use in 2026?

Generally Safe

Score 91/100

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

1 known CVELast CVE: Nov 22, 2024Updated 1yr ago
Risk Assessment

The "image-widget" plugin version 4.4.11 demonstrates a generally good security posture with zero known critical or high vulnerabilities currently unpatched and no identified taint flows. The static analysis reveals a small attack surface with no unprotected AJAX handlers, REST API routes, shortcodes, or cron events. The code also shows a commitment to security by using prepared statements for all SQL queries and performing file operations and external HTTP requests zero times. A single capability check indicates some level of access control is in place.

However, a significant concern is the low rate of proper output escaping, with only 29% of 148 outputs being properly escaped. This suggests a substantial risk of Cross-Site Scripting (XSS) vulnerabilities, especially considering that the plugin's most common vulnerability type is XSS. While there are no unpatched CVEs at this moment, the history of a medium severity XSS vulnerability patched on 2024-11-22 indicates a past weakness that could potentially re-emerge if similar coding patterns persist.

In conclusion, while the plugin excels in areas like SQL sanitization and having a contained attack surface, the widespread lack of output escaping is a critical weakness. The absence of nonce checks on potential entry points, though currently zero, could become an issue if new AJAX or similar handlers are introduced without proper authentication. The plugin's past vulnerability history reinforces the concern around XSS, highlighting the need for developers to prioritize robust output sanitization.

Key Concerns

  • Low percentage of properly escaped output
  • History of XSS vulnerabilities
Vulnerabilities
1

Image Widget Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2024-10939medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Image Widget <= 4.4.10 - Authenticated (Admin+) Stored Cross-Site Scripting

Nov 22, 2024 Patched in 4.4.11 (32d)
Code Analysis
Analyzed Mar 16, 2026

Image Widget Code Analysis

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

Output Escaping

29% escaped148 total outputs
Attack Surface

Image Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionwidgets_initimage-widget.php:22
actionsidebar_admin_setupimage-widget.php:47
actionadmin_enqueue_scriptsimage-widget.php:51
Maintenance & Trust

Image Widget Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedNov 20, 2024
PHP min version
Downloads4.6M

Community Trust

Rating98/100
Number of ratings287
Active installs100K
Developer Profile

Image Widget Developer Profile

StellarWP

26 plugins · 3.1M total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
462 days
View full developer profile
Detection Fingerprints

How We Detect Image Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/image-widget/resources/css/admin.css/wp-content/plugins/image-widget/resources/js/image-widget.js
Script Paths
/wp-content/plugins/image-widget/resources/js/image-widget.js
Version Parameters
image-widget/resources/css/admin.css?ver=image-widget/resources/js/image-widget.js?ver=

HTML / DOM Fingerprints

CSS Classes
widget_sp_image
Data Attributes
data-widget-iddata-attachment-iddata-image-urldata-image-sizedata-link-urldata-link-target+4 more
JS Globals
TribeImageWidget
FAQ

Frequently Asked Questions about Image Widget