
Photo Gallery for Images Security & Risk Analysis
wordpress.org/plugins/new-photo-galleryDisplay photos in responsive grid and lightbox layouts. Build image galleries, portfolios, and video galleries.
Is Photo Gallery for Images Safe to Use in 2026?
Generally Safe
Score 98/100Photo Gallery for Images has a strong security track record. Known vulnerabilities have been patched promptly.
The 'new-photo-gallery' plugin v1.5.4 exhibits a mixed security posture. On the positive side, it demonstrates good practices with 100% of SQL queries using prepared statements, a high rate of output escaping (96%), and robust nonce and capability checks (7 and 17 respectively). The attack surface, while present with one AJAX handler and one shortcode, appears to be entirely protected by authentication, with zero unprotected entry points identified. However, the presence of the `unserialize` dangerous function is a significant concern, as it can lead to Remote Code Execution (RCE) if not handled with extreme caution and input validation. The taint analysis showing two flows with unsanitized paths, though not classified as critical or high, suggests potential avenues for exploitation related to how data is processed before serialization or deserialization.
The plugin's vulnerability history, specifically one high-severity CVE related to 'Deserialization of Untrusted Data,' directly aligns with the static analysis findings regarding `unserialize`. The fact that this vulnerability is now patched is a good sign, but the recurring theme highlights a persistent risk area. The overall conclusion is that while the plugin has made significant strides in secure coding practices, the `unserialize` function and the identified unsanitized paths demand continued vigilance and potentially further code review to ensure all deserialization operations are strictly controlled and sanitized to prevent future exploits, especially given the plugin's past high-severity issues in this domain.
Key Concerns
- Presence of dangerous function: unserialize
- Taint flow with unsanitized paths (2)
- Vulnerability history: 1 high severity CVE
Photo Gallery for Images Security Vulnerabilities
CVEs by Year
Severity Breakdown
1 total CVE
Photo Gallery <= 1.4.2 - Authenticated(Contributor+) PHP Object Injection via Shortcode
Photo Gallery for Images Code Analysis
Dangerous Functions Found
Output Escaping
Data Flow Analysis
Photo Gallery for Images Attack Surface
AJAX Handlers 1
Shortcodes 1
WordPress Hooks 37
Maintenance & Trust
Photo Gallery for Images Maintenance & Trust
Maintenance Signals
Community Trust
Photo Gallery for Images Alternatives
Awesome Responsive Photo Gallery – Image & Video Lightbox Gallery
awesome-responsive-photo-gallery
Upgrade WordPress gallery shortcode to a modern, responsive, touch-friendly lightbox gallery with 3 stunning lightbox styles.
Image Gallery – Grid Gallery
gallery-image-gallery-photo
Photo Gallery is awesome WordPress gallery plugin with many useful features and effects. The gallery plugin was created and specially designed for pho …
Photo Gallery by 10Web – Mobile-Friendly Image Gallery
photo-gallery
Photo Gallery is a powerful image gallery plugin with a list of advanced options for creating responsive image galleries with beautiful lightbox.
Gallery by FooGallery
foogallery
Photo Gallery, Image Gallery by FooGallery — fast, responsive, SEO-optimized, and packed with beautiful layouts.
Robo Gallery – Photo & Image Slider
robo-gallery
Robo Gallery is a powerful image gallery and photo gallery plugin with advanced features to create responsive galleries with a beautiful lightbox
Photo Gallery for Images Developer Profile
61 plugins · 64K total installs
How We Detect Photo Gallery for Images
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/new-photo-gallery/js/colorbox/jquery.colorbox-min.js/wp-content/plugins/new-photo-gallery/js/script.js/wp-content/plugins/new-photo-gallery/css/style.css/wp-content/plugins/new-photo-gallery/css/colorbox/colorbox.css/wp-content/plugins/new-photo-gallery/js/colorbox/jquery.colorbox-min.js/wp-content/plugins/new-photo-gallery/js/script.js/wp-content/plugins/new-photo-gallery/js/colorbox/jquery.colorbox.jsnew-photo-gallery/js/colorbox/jquery.colorbox-min.js?ver=new-photo-gallery/js/script.js?ver=new-photo-gallery/css/style.css?ver=new-photo-gallery/css/colorbox/colorbox.css?ver=HTML / DOM Fingerprints
photo-gallery-items-containernpg-gallery-itemnpg-gallery-thumb<!-- New Photo Gallery --><!-- Admin Area --><!-- Front End Area -->id="light-image-gallery-shortcode-onclick="return PHOTOCopyShortcodeid='copy-msg-data-lightbox="gallery-data-title="PHOTOCopyShortcodenpg_gallery_lightbox[NPG id=<input type='text' class='button button-primary' id='light-image-gallery-shortcode-value='[NPG id=onclick='return PHOTOCopyShortcode