UnGallery Security & Risk Analysis

wordpress.org/plugins/ungallery

Publish thousands of pictures in WordPress, in minutes.

30 active installs v2.2.4 PHP + WP + Updated Dec 31, 2014
gallerymoviesmp4picturesungallery
58
C · Use Caution
CVEs total2
Unpatched1
Last CVEApr 18, 2024
Safety Verdict

Is UnGallery Safe to Use in 2026?

Use With Caution

Score 58/100

UnGallery has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

2 known CVEs 1 unpatched Last CVE: Apr 18, 2024Updated 11yr ago
Risk Assessment

The ungallery v2.2.4 plugin exhibits a mixed security posture, with some positive aspects overshadowed by significant concerns. While the plugin avoids exposing a large attack surface through traditional WordPress entry points like AJAX handlers, REST API routes, and shortcodes, and uses prepared statements for all SQL queries, these strengths are undermined by critical vulnerabilities. The presence of the 'exec' dangerous function is a serious red flag, indicating a potential for arbitrary code execution if misused. Furthermore, the taint analysis revealing flows with unsanitized paths is concerning, even without critical or high severity findings, as it suggests potential pathways for malicious input to be processed improperly.

The plugin's vulnerability history is particularly alarming. With two known CVEs, including one critical unpatched vulnerability, and a recent history of critical Cross-site Scripting and Code Injection issues, this plugin presents a substantial risk. The pattern of critical vulnerabilities in the past, combined with the presence of dangerous functions and unsanitized taint flows in the current version, strongly suggests a recurring problem with secure coding practices. The lack of nonce checks and only one capability check across all code also contributes to a weaker security framework.

In conclusion, while the plugin has a clean entry point surface and secure SQL practices, the critical unpatched CVE, the presence of 'exec', a significant number of unsanitized taint flows, and a history of critical code injection and XSS vulnerabilities make this plugin a high-risk component. The lack of comprehensive capability and nonce checks further exacerbates these risks, making it imperative to address these issues immediately.

Key Concerns

  • Unpatched critical CVE
  • Presence of dangerous function 'exec'
  • Flows with unsanitized paths identified
  • Output escaping only 50% proper
  • No nonce checks
  • Only one capability check
  • Historical critical vulnerability (Code Injection)
  • Historical critical vulnerability (XSS)
Vulnerabilities
2

UnGallery Security Vulnerabilities

CVEs by Year

1 CVE in 2012
2012
1 CVE in 2024 · unpatched
2024
Patched Has unpatched

Severity Breakdown

Critical
1
Medium
1

2 total CVEs

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

UnGallery <= 2.2.4 - Cross-Site Request Forgery to Stored Cross-Site Scripting

Apr 18, 2024Unpatched
WF-5875a4c2-a309-41fb-8845-2935511ec6c0-ungallerycritical · 9.8Improper Control of Generation of Code ('Code Injection')

UnGallery < 2.1.6 - Command Injection

Oct 23, 2012 Patched in 2.1.6 (4109d)
Code Analysis
Analyzed Mar 16, 2026

UnGallery Code Analysis

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

Dangerous Functions Found

execexec('cjpeg '.$lpszFileName.'.bmp >'.$lpszFileName.' 2>/dev/null');phpthumb\phpthumb.gif.php:117

Output Escaping

50% escaped131 total outputs
Data Flows
5 unsanitized

Data Flow Analysis

7 flows5 with unsanitized paths
SendSaveAsFileHeaderIfNeeded (phpthumb\phpThumb.php:321)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

UnGallery Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_menuconfiguration_menu.php:4
filterthe_contentungallery.php:36
filterthe_contentungallery.php:39
filterthe_contentungallery.php:43
filterthe_contentungallery.php:44
filterplugin_row_metaungallery.php:315
Maintenance & Trust

UnGallery Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedDec 31, 2014
PHP min version
Downloads21K

Community Trust

Rating74/100
Number of ratings3
Active installs30
Developer Profile

UnGallery Developer Profile

mmond

1 plugin · 30 total installs

50
trust score
Avg Security Score
58/100
Avg Patch Time
4109 days
View full developer profile
Detection Fingerprints

How We Detect UnGallery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/ungallery/styles.css/wp-content/plugins/ungallery/script.js/wp-content/plugins/ungallery/source.php
Script Paths
/wp-content/plugins/ungallery/script.js
Version Parameters
ungallery/styles.css?ver=ungallery/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
post-headline
HTML Comments
UnGallery version: If we are in thumbnails view,
Data Attributes
name="myform"style="display: inline"
JS Globals
submitform
FAQ

Frequently Asked Questions about UnGallery