
Portfolio Filter Gallery – Photo Gallery Security & Risk Analysis
wordpress.org/plugins/portfolio-filter-galleryCreate filterable portfolio galleries with photos, videos, category filters in masonry layouts. Supports Gutenberg blocks and Elementor widgets.
Is Portfolio Filter Gallery – Photo Gallery Safe to Use in 2026?
Generally Safe
Score 99/100Portfolio Filter Gallery – Photo Gallery has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.
The 'portfolio-filter-gallery' v2.1.5 plugin exhibits a mixed security posture. On the positive side, the plugin demonstrates strong adherence to secure coding practices regarding SQL queries, with 100% using prepared statements, and a high level of output escaping (99%). It also incorporates a significant number of nonce and capability checks, indicating an awareness of common WordPress security mechanisms. However, a substantial concern lies in its attack surface, with 19 out of 29 entry points lacking authentication checks. This significantly increases the risk of unauthorized access and potential abuse of these unprotected AJAX handlers.
The vulnerability history shows three previously disclosed medium-severity vulnerabilities, primarily related to Cross-Site Scripting and Cross-Site Request Forgery. While there are currently no unpatched CVEs, the pattern of past vulnerabilities, especially XSS, coupled with the large number of unprotected AJAX handlers, suggests a recurring risk if proper input validation and sanitization are not consistently applied to all entry points. The presence of a dangerous `preg_replace(/e)` function is also a potential area for concern, though no taint flows of critical or high severity were identified in the static analysis.
In conclusion, while the plugin benefits from good SQL and output sanitization practices, the large number of unprotected AJAX handlers and the history of XSS and CSRF vulnerabilities present a notable risk. Addressing the unauthenticated entry points and ensuring robust input validation across all AJAX handlers should be a priority to improve its overall security.
Key Concerns
- 19 unprotected AJAX handlers
- 3 medium severity CVEs (historically)
- 1 dangerous function: preg_replace(/e)
Portfolio Filter Gallery – Photo Gallery Security Vulnerabilities
CVEs by Year
Severity Breakdown
3 total CVEs
Portfolio Gallery – Image Gallery Plugin <= 1.6.4 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting
Portfolio Gallery – Image Gallery Plugin <= 1.5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Portfolio Gallery – Image Gallery Plugin <= 1.1.2 - Cross-Site Request Forgery
Portfolio Filter Gallery – Photo Gallery Release Timeline
Portfolio Filter Gallery – Photo Gallery Code Analysis
Dangerous Functions Found
SQL Query Safety
Output Escaping
Data Flow Analysis
Portfolio Filter Gallery – Photo Gallery Attack Surface
AJAX Handlers 26
Shortcodes 3
WordPress Hooks 29
Scheduled Events 1
Maintenance & Trust
Portfolio Filter Gallery – Photo Gallery Maintenance & Trust
Maintenance Signals
Community Trust
Portfolio Filter Gallery – Photo Gallery Alternatives
Photo Gallery – Image, Video & Portfolio
new-photo-gallery
Create photo gallery and video gallery in seconds. Display images and videos in a clean grid with lightbox options. Supports block and Elementor
Gallery by Visual Portfolio
visual-portfolio
Build photo galleries, image galleries, and portfolio grids with gallery blocks. Masonry, lightbox, sliders, and filters included.
Video Gallery – YouTube Gallery, Vimeo, Video Portfolio, Image Portfolio and Image Gallery
gallery-videos
Gallery is a user-friendly plugin to display user or hashtag-based gallery feeds as a responsive customizable gallery.
Portfolio, Gallery, Product Catalog – Grid KIT Portfolio
portfolio-wp
Portfolio, gallery, product catalog, teams, logos and more. All-in-one - Grid Kit Portfolio Gallery plugin!
Ultimate Portfolio
ultimate-portfolio
Build portfolio galleries with category filters, image sliders, and post grids using Gutenberg blocks.
Portfolio Filter Gallery – Photo Gallery Developer Profile
65 plugins · 87K total installs
How We Detect Portfolio Filter Gallery – Photo Gallery
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/portfolio-filter-gallery/admin/css/pfg-admin.css/wp-content/plugins/portfolio-filter-gallery/admin/js/pfg-admin.js/wp-content/plugins/portfolio-filter-gallery/public/css/pfg-public.css/wp-content/plugins/portfolio-filter-gallery/public/js/pfg-public.js/wp-content/plugins/portfolio-filter-gallery/admin/js/pfg-admin.js/wp-content/plugins/portfolio-filter-gallery/public/js/pfg-public.jsportfolio-filter-gallery/admin/css/pfg-admin.css?ver=portfolio-filter-gallery/admin/js/pfg-admin.js?ver=portfolio-filter-gallery/public/css/pfg-public.css?ver=portfolio-filter-gallery/public/js/pfg-public.js?ver=HTML / DOM Fingerprints
pfg-gallery-containerpfg-gallery-filterpfg-gallery-itempfg-gallery-filter-list<!-- The file that defines the core plugin class --><!-- The file that runs the initialization of the plugin --><!-- The file that defines the plugin name --><!-- The file that defines the plugin version -->+41 moredata-filterdata-categorypfg_admin_paramspfg_public_params[portfolio_gallery