Ninja Galleries Security & Risk Analysis

wordpress.org/plugins/ninja-galleries

Ninja Galleries lets you easily create image galleries by tagging your images and then assigning those tags to a gallery page.

10 active installs v1.0.24 PHP + WP 3.0+ Updated Jun 13, 2019
galleriesgalleryimageimagesporfolio
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Ninja Galleries Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 6yr ago
Risk Assessment

The ninja-galleries plugin v1.0.24 presents a mixed security posture. On the positive side, it exhibits strong adherence to secure coding practices by utilizing prepared statements for all SQL queries, implementing nonce checks, and performing capability checks on its entry points. The absence of known CVEs and a clean vulnerability history further contribute to a generally positive impression. However, a significant concern arises from the taint analysis, where all analyzed flows (6 out of 6) show unsanitized paths. While no critical or high-severity taint issues were identified, this indicates a potential for uncontrolled data propagation within the plugin. Additionally, the static analysis reveals that only 25% of output is properly escaped. This could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is not adequately sanitized before being displayed to users. The plugin's attack surface is relatively small with only two shortcodes, and importantly, all entry points are protected, which is a strong security measure. Despite the lack of critical identified vulnerabilities, the prevalence of unsanitized paths in taint flows and the low output escaping rate warrant careful consideration and potential remediation.

Key Concerns

  • Unsanitized paths in taint flows
  • Low percentage of properly escaped output
Vulnerabilities
None known

Ninja Galleries Security Vulnerabilities

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

Ninja Galleries Code Analysis

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

Output Escaping

25% escaped76 total outputs
Data Flows
6 unsanitized

Data Flow Analysis

6 flows6 with unsanitized paths
wpnj_mediatags_mgmt_panel (wpnj-media-tags\mediatags_admin.php:177)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Ninja Galleries Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[wpnj_gal_list] ninja-galleries.php:150
[wpnj-media-tags] wpnj-media-tags\media_tags.php:50
WordPress Hooks 31
filterthe_contentninja-galleries.php:48
actioninitninja-galleries.php:61
actioninitninja-galleries.php:153
filterpost_updated_messagesninja-galleries.php:191
actioncontextual_helpninja-galleries.php:215
filtermanage_edit-wpnj_gallery_columnsninja-galleries.php:241
actionmanage_posts_custom_columnninja-galleries.php:242
actionadmin_menuninja-galleries.php:277
actionsave_postninja-galleries.php:361
filterrewrite_rules_arraywpnj-media-tags\mediatags_rewrite.php:9
actiontemplate_redirectwpnj-media-tags\mediatags_rewrite.php:52
filterposts_wherewpnj-media-tags\mediatags_rewrite.php:54
filterposts_joinwpnj-media-tags\mediatags_rewrite.php:55
filterattachment_fields_to_editwpnj-media-tags\media_tags.php:23
filterattachment_fields_to_savewpnj-media-tags\media_tags.php:24
filtermanage_media_columnswpnj-media-tags\media_tags.php:25
actionmanage_media_custom_columnwpnj-media-tags\media_tags.php:26
actiondelete_attachmentwpnj-media-tags\media_tags.php:28
actionadmin_headwpnj-media-tags\media_tags.php:30
actionwp_headwpnj-media-tags\media_tags.php:31
actioninitwpnj-media-tags\media_tags.php:33
actionadmin_initwpnj-media-tags\media_tags.php:34
filterquery_varswpnj-media-tags\media_tags.php:36
actionparse_querywpnj-media-tags\media_tags.php:37
filtermedia_upload_tabswpnj-media-tags\media_tags.php:39
actionmedia_upload_mediatagswpnj-media-tags\media_tags.php:40
actionexport_wpwpnj-media-tags\media_tags.php:43
actionimport_post_metawpnj-media-tags\media_tags.php:44
filterterm_linkwpnj-media-tags\media_tags.php:47
actionadmin_menuwpnj-media-tags\media_tags.php:55
actionsm_buildmapwpnj-media-tags\media_tags.php:59
Maintenance & Trust

Ninja Galleries Maintenance & Trust

Maintenance Signals

WordPress version tested3.1.4
Last updatedJun 13, 2019
PHP min version
Downloads12K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Ninja Galleries Developer Profile

Kevin Stover

5 plugins · 610K total installs

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

How We Detect Ninja Galleries

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/ninja-galleries/css/style.css/wp-content/plugins/ninja-galleries/js/script.js
Script Paths
/wp-content/plugins/ninja-galleries/js/script.js
Version Parameters
ninja-galleries/css/style.css?ver=ninja-galleries/js/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
gallery-itemgallery-iconwhole-gallery
Data Attributes
rel="lightbox[title="
Shortcode Output
<dl class="gallery-item"><dt class="gallery-icon"><a href="<dl class="gallery-item"><dt class="gallery-icon"><a href="<dl class="gallery-item"><dt class="gallery-icon"><a href="<dl class="gallery-item"><dt class="gallery-icon"><a href="
FAQ

Frequently Asked Questions about Ninja Galleries