NR Image Gallery Security & Risk Analysis

wordpress.org/plugins/nr-image-gallery

NR Image Gallery is a Simple responsive image gallery.

10 active installs v1.0 PHP + WP 3.9+ Updated Feb 16, 2015
galleryimageimage-galleryphotophoto-gallery
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is NR Image Gallery Safe to Use in 2026?

Generally Safe

Score 85/100

NR Image Gallery 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 'nr-image-gallery' plugin v1.0 exhibits a generally good security posture with a small attack surface and a lack of known vulnerabilities. The static analysis reveals no critical or high severity issues in taint flows, indicating that user-supplied input is likely handled with care regarding path traversal. Furthermore, the presence of 11 nonce checks suggests an effort to prevent Cross-Site Request Forgery. The plugin also avoids making external HTTP requests, which can be a vector for certain attacks.

However, there are areas for improvement. The plugin has 24 SQL queries with only 8% using prepared statements, representing a significant risk of SQL injection vulnerabilities if user input is not strictly validated and sanitized before being included in queries. Additionally, while 70% of output is properly escaped, the remaining 30% could lead to Cross-Site Scripting (XSS) vulnerabilities. The absence of capability checks on any entry points is a concern, as it implies that unauthorized users might be able to trigger plugin functionality. The vulnerability history being entirely clean is a positive sign, but it doesn't negate the potential risks identified in the static analysis.

In conclusion, 'nr-image-gallery' v1.0 benefits from a minimal attack surface and no known past vulnerabilities. However, the high percentage of non-prepared SQL queries and the lack of capability checks on entry points represent substantial security risks that should be addressed to ensure a robust security profile.

Key Concerns

  • SQL queries without prepared statements
  • Unescaped output in 30% of cases
  • No capability checks on entry points
Vulnerabilities
None known

NR Image Gallery Security Vulnerabilities

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

NR Image Gallery Code Analysis

Dangerous Functions
0
Raw SQL Queries
22
2 prepared
Unescaped Output
11
26 escaped
Nonce Checks
11
Capability Checks
0
File Operations
2
External Requests
0
Bundled Libraries
0

SQL Query Safety

8% prepared24 total queries

Output Escaping

70% escaped37 total outputs
Data Flows
All sanitized

Data Flow Analysis

5 flows
<add-gallery> (admin\add-gallery.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

NR Image Gallery Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[NRImageGallery] nr-image-gallery.php:329
WordPress Hooks 8
actiondelete_attachmentincludes\mr-image-resize.php:23
actioninitnr-image-gallery.php:121
actionwp_headnr-image-gallery.php:127
actionwp_enqueue_scriptsnr-image-gallery.php:143
actionwp_headnr-image-gallery.php:157
actionadmin_enqueue_scriptsnr-image-gallery.php:176
actionadmin_print_stylesnr-image-gallery.php:177
actionadmin_menunr-image-gallery.php:202
Maintenance & Trust

NR Image Gallery Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedFeb 16, 2015
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

NR Image Gallery Developer Profile

Nazmur Rahman

2 plugins · 110 total installs

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

How We Detect NR Image Gallery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/nr-image-gallery/css/bjqs.css/wp-content/plugins/nr-image-gallery/css/nr-image-gallery.css/wp-content/plugins/nr-image-gallery/js/bjqs-1.3.min.js/wp-content/plugins/nr-image-gallery/js/nr-image-gallery.js
Script Paths
/wp-content/plugins/nr-image-gallery/js/bjqs-1.3.min.js/wp-content/plugins/nr-image-gallery/js/nr-image-gallery.js/wp-content/plugins/nr-image-gallery/js/image-uploader.js/wp-content/plugins/nr-image-gallery/js/nr-image-gallery-admin.js
Version Parameters
bjqs-1.3.min.js?ver=nr-image-gallery.js?ver=image-uploader.js?ver=nr-image-gallery-admin.js?ver=bjqs.css?ver=nr-image-gallery.css?ver=nr-image-gallery-admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
nr-image-gallery-custom-style
JS Globals
NRIGALLERY_PLUGIN_BASENAMENRIGALLERY_PLUGIN_NAMENRIGALLERY_PLUGIN_DIR
FAQ

Frequently Asked Questions about NR Image Gallery