
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Security & Risk Analysis
wordpress.org/plugins/nextgen-galleryThe most popular gallery plugin that lets you create galleries and albums in seconds.
Is Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Safe to Use in 2026?
Mostly Safe
Score 76/100Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery is generally safe to use. 37 past CVEs were resolved. Keep it updated.
The NextGen Gallery plugin version 4.1.1 presents a mixed security posture. While the static analysis shows a good adherence to secure coding practices, with a high percentage of properly escaped outputs and SQL queries using prepared statements, and no critical or high severity taint flows identified, there are still significant concerns. The presence of two unprotected REST API routes creates potential entry points for unauthorized actions or information disclosure, and the historical vulnerability data is alarming. The plugin has a substantial history of 37 known CVEs, including critical and high severity vulnerabilities across various categories such as remote file inclusion, XSS, path traversal, and SQL injection. Although there are currently no unpatched vulnerabilities, this extensive history suggests a recurring pattern of security weaknesses that require diligent oversight and prompt patching by users. The last reported vulnerability in December 2025 indicates that the development team has addressed past issues, but the sheer volume of historical vulnerabilities warrants caution. Overall, while recent code appears to follow best practices, the plugin's past necessitates a careful approach, especially regarding the unprotected entry points.
Key Concerns
- 2 unprotected REST API routes
- Significant vulnerability history (37 CVEs)
- Bundled outdated library: Select2 v4.0.13
- Bundled outdated library: TinyMCE v0.1
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Security Vulnerabilities
CVEs by Year
Severity Breakdown
37 total CVEs
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 3.59.12 - Authenticated (Contributor+) Local File Inclusion via 'template'
Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via ThickBox JavaScript Library
Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via SimpleLightbox JavaScript Library
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 3.59.8 - Authenticated (Admin+) Stored Cross-Site Scripting
NextGEN Gallery <= 3.39.4 - Authenticated (Administrator+) Stored Cross-Site Scripting
NextGEN Gallery <= 3.59.3 - Authenticated (Administrator+) Stored Cross-Site Scripting
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 3.59.2 - Authenticated (Admin+) Stored Cross-Site Scripting via Gallery
Nextgen Gallery <= 3.59 - Authenticated (Administrator+) Stored Cross-Site Scripting
WordPress Gallery Plugin – NextGEN Gallery <= 3.59 - Missing Authorization to Unauthenticated Information Disclosure
NextGEN Gallery <= 3.37 - Cross-Site Request Forgery
WordPress Gallery Plugin – NextGEN Gallery <= 3.38 - Authenticated (Admin+) Local File Inclusion
NextGEN Gallery <= 3.37 - Authenticated (Admininistrator+) Arbitrary File Read and Deletion in gallery_edit
WordPress Gallery Plugin – NextGEN Gallery <= 3.38 - Authenticated (Admin+) PHAR Deserialization
NextGEN Gallery <= 3.28 - Cross-Site Request Forgery leading to Post Thumbnail Change
WordPress Gallery Plugin – NextGEN Gallery <= 3.4.7 - Cross-Site Request Forgery
WordPress Gallery Plugin – NextGEN Gallery <= 3.4.7 - Cross-Site Request Forgery to Arbitrary File Upload
NextGEN Gallery <= 3.2.10 - SQL Injection
Freemius SDK <= 2.2.3 - Missing Authorization to Arbitrary Options Update
NextGen Gallery <= 3.1.5 - PHP Object Injection
WordPress Gallery Plugin – NextGEN Gallery <= 2.2.46 - Sensitive Information Disclosure
NextGEN Gallery <= 2.2.44 - Cross-Site Scripting via image alt and title text
NextGen Gallery <= 2.1.77 - SQL Injection
NextGEN Gallery <= 2.1.56 - Authenticated Local File Inclusion & SQL injection
NextGen Gallery <= 2.1.56 - Remote File Inclusion
NextGen Gallery <= 2.1.10 - Unrestricted File Upload
WordPress Gallery Plugin – NextGEN Gallery <= 2.1.15 - Authenticated (Admin+) Cross-Site Scripting
NextGen Gallery <= 2.1.9 - Cross-Site Scripting
NextGen Gallery <= 2.1.10 - Local File Inclusion
NextGen Gallery <= 2.1.7 - Path Traversal
WordPress Gallery Plugin – NextGEN Gallery < 2.0.77.3 - Cross-Site Request Forgery
WordPress Gallery Plugin – NextGEN Gallery < 2.0.77.3 - Arbitrary File Upload
NextGen Gallery <= 2.0.65 - Arbitrary File Upload
NextGen Gallery <= 2.0 - Path Traversal
WordPress Gallery Plugin – NextGEN Gallery <= 1.9.12 - Arbitrary File Upload
WordPress Gallery Plugin – NextGEN Gallery 1.9.10 - 1.9.11 - Full Path Disclosure
WordPress Gallery Plugin – NextGEN Gallery <= 1.5.1 - Cross-Site Scripting
NextGEN Gallery Plugin <= 1.9.0 - Authenticated (Admin+) Stored Cross-Site Scripting
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Code Analysis
Bundled Libraries
SQL Query Safety
Output Escaping
Data Flow Analysis
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Attack Surface
AJAX Handlers 12
REST API Routes 65
WordPress Hooks 176
Scheduled Events 3
Maintenance & Trust
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Maintenance & Trust
Maintenance Signals
Community Trust
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Alternatives
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.
Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More
envira-gallery-lite
Envira Gallery is a fast, easy and powerful gallery builder with lightbox, masonry and grid layouts, albums, videos, and responsive displays and more
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 – GT3 Image Gallery & Gutenberg Block Gallery
gt3-photo-video-gallery
GT3 Image Gallery - create photo gallery, video gallery, block gallery, slider and more with ease. All photo galleries are responsive and loading fast
Gmedia Photo Gallery
grand-media
Gmedia Gallery - photo gallery with comments, show EXIF & Metadata, gallery with map geolocation (GPS), private galleries.
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Developer Profile
94 plugins · 23.5M total installs
How We Detect Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/nextgen-gallery/styles/nggallery.css/wp-content/plugins/nextgen-gallery/styles/dashicons.css/wp-content/plugins/nextgen-gallery/styles/albums.css/wp-content/plugins/nextgen-gallery/styles/galleries.css/wp-content/plugins/nextgen-gallery/styles/slideshow.css/wp-content/plugins/nextgen-gallery/styles/nextgen-gallery.css/wp-content/plugins/nextgen-gallery/admin/css/common.css/wp-content/plugins/nextgen-gallery/admin/css/gallery.css+73 more/wp-content/plugins/nextgen-gallery/admin/js/nggallery.js/wp-content/plugins/nextgen-gallery/admin/js/albums.js/wp-content/plugins/nextgen-gallery/admin/js/galleries.js/wp-content/plugins/nextgen-gallery/admin/js/slideshow.js/wp-content/plugins/nextgen-gallery/admin/js/nextgen-gallery.js/wp-content/plugins/nextgen-gallery/admin/js/common.js+34 more/wp-content/plugins/nextgen-gallery/styles/nggallery.css?ver=/wp-content/plugins/nextgen-gallery/styles/dashicons.css?ver=/wp-content/plugins/nextgen-gallery/styles/albums.css?ver=/wp-content/plugins/nextgen-gallery/styles/galleries.css?ver=/wp-content/plugins/nextgen-gallery/styles/slideshow.css?ver=/wp-content/plugins/nextgen-gallery/styles/nextgen-gallery.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/common.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/gallery.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ Galleries.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/album.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/media-gallery.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/image-browser.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/settings.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/import.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/uninstall.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/wizard.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/notices.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-gallery-picker.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-multiselect.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-tinymce-plugin.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-custom-fields.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-tags.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-images-bulk-edit.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-lightbox.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-tagcloud.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-gallery-grid.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-importer.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-media-gallery-modal.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-media-library.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-album-list.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-gallery-list.css?ver=/wp-content/plugins/nextgen-gallery/admin/css/ngg-slideshow.css?ver=/wp-content/plugins/nextgen-gallery/admin/js/nggallery.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/albums.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/galleries.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/slideshow.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/nextgen-gallery.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/common.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/gallery.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ Galleries.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/album.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/media-gallery.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/image-browser.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/settings.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/import.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/uninstall.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/wizard.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/notices.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-gallery-picker.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-multiselect.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-tinymce-plugin.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-custom-fields.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-tags.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-images-bulk-edit.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-lightbox.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-tagcloud.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-gallery-grid.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-importer.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-media-gallery-modal.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-media-library.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-album-list.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-gallery-list.js?ver=/wp-content/plugins/nextgen-gallery/admin/js/ngg-slideshow.js?ver=HTML / DOM Fingerprints
ngg-galleryngg-albumngg-thumbnailngg-descriptionngg-gallery-images-backendngg-gallery-backendngg-admin-containerngg-settings-form+18 more<!-- Clean Exit Exception for graceful shutdown. --><!-- NGG Error Exception for general NextGEN Gallery errors. --><!-- Thrown when a datamapper entity does not exist. --><!-- Columns Not Defined Exception for database schema issues. -->+10 moredata-ngg-gallery-iddata-ngg-album-idngg_backendngg_lightboxngg_tagcloudngg_gallery_gridngg_importerngg_media_gallery_modal+12 more/wp-json/nextgen-gallery