SmoothGallery Security & Risk Analysis

wordpress.org/plugins/smoothgallery

Embed JonDesign's SmoothGallery into your posts and pages.

70 active installs v1.15.8 PHP + WP 2.0+ Updated Aug 24, 2014
galleryimagesjondesignpicturessmoothgallery
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is SmoothGallery Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 11yr ago
Risk Assessment

The smoothgallery plugin, version 1.15.8, presents a mixed security posture. While the attack surface appears limited with no identified unprotected entry points and a lack of known CVEs, significant concerns arise from the static analysis. The presence of dangerous functions like `create_function` and `unserialize` is a red flag, as these can be exploited for code execution if not handled with extreme care. Furthermore, the alarmingly low percentage of properly escaped outputs (2%) strongly suggests a high risk of cross-site scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into the website.

Despite the absence of known vulnerabilities in its history, the code itself exhibits several concerning practices. The taint analysis shows flows with unsanitized paths, though no critical or high severity issues were flagged in this specific analysis. The lack of nonce checks and capability checks on potentially sensitive operations, coupled with the high number of file operations, further amplifies the risk. The plugin's reliance on direct SQL queries, with a substantial portion not using prepared statements, also opens it up to SQL injection risks. In conclusion, while the plugin has no recorded public vulnerabilities, the internal code quality and practices present significant potential weaknesses that require immediate attention.

Key Concerns

  • Presence of dangerous functions (create_function, unserialize)
  • Low percentage of properly escaped output
  • Flows with unsanitized paths
  • SQL queries not using prepared statements
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

SmoothGallery Security Vulnerabilities

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

SmoothGallery Code Analysis

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

Dangerous Functions Found

create_functioncreate_function('$a', 'return $a[0] . \'=\' . $a[1];'),extra\phpFlickr\PEAR\HTTP\Request.php:939
unserialize$this->parsed_response = $this->clean_text_nodes(unserialize($this->response));extra\phpFlickr\phpFlickr.php:233
unserializereturn unserialize(file_get_contents('http://phpflickr.com/geodata/?format=php&lat=' . $lat . '&lon=extra\phpFlickr\phpFlickr.php:318
create_functionadd_action('widgets_init', create_function('', 'return register_widget("SmoothGallery_Widget");'));smoothgallery.php:541
unserialize$attachment_meta = unserialize($attachment_meta);utils.php:581

SQL Query Safety

62% prepared37 total queries

Output Escaping

2% escaped50 total outputs
Data Flows
6 unsanitized

Data Flow Analysis

6 flows6 with unsanitized paths
auth (extra\phpFlickr\phpFlickr.php:531)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

SmoothGallery Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[recent-images-box] extra\recent_images_box.php:72
[smoothgallery] smoothgallery.php:287
WordPress Hooks 11
actionwidgets_initextra\recent_images_box.php:102
actioninitsmoothgallery.php:93
actionwp_headsmoothgallery.php:181
actionwp_footersmoothgallery.php:194
actiondbx_post_advancedsmoothgallery.php:206
actiondbx_page_advancedsmoothgallery.php:207
actionadmin_menusmoothgallery.php:210
filterattachment_fields_to_editsmoothgallery.php:309
filterattachment_fields_to_savesmoothgallery.php:323
actionwidgets_initsmoothgallery.php:493
actionwidgets_initsmoothgallery.php:541
Maintenance & Trust

SmoothGallery Maintenance & Trust

Maintenance Signals

WordPress version tested3.9.40
Last updatedAug 24, 2014
PHP min version
Downloads47K

Community Trust

Rating20/100
Number of ratings1
Active installs70
Developer Profile

SmoothGallery Developer Profile

Christian Schenk

3 plugins · 280 total installs

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

How We Detect SmoothGallery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/smoothgallery/css/jd.gallery.css/wp-content/plugins/smoothgallery/css/ReMooz.css
Script Paths
/wp-content/plugins/smoothgallery/js/smoothgallery.js
Version Parameters
smoothgallery/style.css?ver=smoothgallery/js/smoothgallery.js?ver=

HTML / DOM Fingerprints

CSS Classes
jd-galleryjd-controlsjd-captionjd-loadingjd-previewjd-thumbsjd-thumbs-wrapperjd-nav-prev+2 more
HTML Comments
<!-- Generated by SmoothGallery plugin -->
Data Attributes
data-smoothgallery-iddata-smoothgallery-themedata-smoothgallery-widthdata-smoothgallery-heightdata-smoothgallery-bordercolordata-smoothgallery-autoplay+6 more
JS Globals
SmoothGallery
Shortcode Output
[smoothgallery]
FAQ

Frequently Asked Questions about SmoothGallery