
Document Gallery Security & Risk Analysis
wordpress.org/plugins/document-galleryThis plugin generates thumbnails for documents and displays them in a gallery-like format for easy sharing.
Is Document Gallery Safe to Use in 2026?
Generally Safe
Score 100/100Document Gallery has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The document-gallery plugin version 5.1.0 presents a mixed security posture. While it demonstrates some good practices, such as a high percentage of SQL queries using prepared statements and a relatively low number of file operations and external HTTP requests, there are significant concerns. A substantial portion of its attack surface, specifically 5 out of 6 entry points, lacks authentication checks. Furthermore, the presence of the `exec` function raises a red flag, as it's a powerful function that can lead to arbitrary code execution if not handled with extreme care and robust sanitization, which is not explicitly detailed in the provided signals. The taint analysis, while showing no critical or high severity flows, did find four flows with unsanitized paths, which could be a precursor to security issues, especially when combined with the unprotected entry points and dangerous functions.
Key Concerns
- Unprotected AJAX handlers
- Use of dangerous function (exec)
- Taint flows with unsanitized paths
- Low nonce checks
- Low capability checks
- Output escaping not fully implemented
Document Gallery Security Vulnerabilities
Document Gallery Code Analysis
Dangerous Functions Found
SQL Query Safety
Output Escaping
Data Flow Analysis
Document Gallery Attack Surface
AJAX Handlers 5
Shortcodes 1
WordPress Hooks 24
Maintenance & Trust
Document Gallery Maintenance & Trust
Maintenance Signals
Community Trust
Document Gallery Alternatives
Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files
embed-any-document
Embed PDF, DOC, PPT and XLS documents easily on your WordPress website with the help of Google Docs Viewer or Microsoft Office Online.
Document Gallery – Display PDF Gallery from Many Folders
catfolders-document-gallery
Display WordPress PDF gallery and file gallery from folder. Comes with a clean, searchable & sortable list/grid layout.
FileBird – WordPress Media Library Folders & File Manager
filebird
Organize thousands of WordPress media files in folders / categories with ease.
Real Media Library: Media Library Folder & File Manager
real-media-library-lite
Organize uploaded media in folders, collections and galleries: A file manager for WordPress. Media management made easy with Real Media Library! (Alte …
Templateberg – Gutenberg Templates, WordPress Themes Template Kits & WordPress Templates
templateberg
Templateberg offers Gutenberg templates & WordPress theme kits. Import pre-designed layouts & build beautiful sites fast.
Document Gallery Developer Profile
2 plugins · 9K total installs
How We Detect Document Gallery
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/document-gallery/build/block.js/wp-content/plugins/document-gallery/src/css/document-gallery.css/wp-content/plugins/document-gallery/build/block.jsdocument-gallery/build/block.js?ver=document-gallery/src/css/document-gallery.css?ver=HTML / DOM Fingerprints
<!-- Document Gallery Count: -->data-dg-typedata-dg-post-iddata-dg-post-typedata-dg-post-mime-typedata-dg-post-urldata-dg-attachment-id+4 moredgBlockConfig[dg]