
PrettyPhoto – Simple Lightbox Plugin Security & Risk Analysis
wordpress.org/plugins/prettyphotoAn easy to use lightbox/thickbox clone for WordPress. Prettyphoto Elementor Addon supports
Is PrettyPhoto – Simple Lightbox Plugin Safe to Use in 2026?
Mostly Safe
Score 75/100PrettyPhoto – Simple Lightbox Plugin is generally safe to use. 3 past CVEs were resolved. Keep it updated.
The 'prettyPhoto' plugin version 1.2.5 exhibits a mixed security posture. The static analysis reveals a commendable lack of immediately exploitable entry points like AJAX handlers, REST API routes, and shortcodes that are exposed without authentication. Furthermore, the absence of dangerous functions and raw SQL queries is a positive sign, indicating some adherence to secure coding practices. However, the 60% output escaping rate suggests a potential for Cross-Site Scripting (XSS) vulnerabilities in the remaining 40% of outputs, though the taint analysis did not reveal any active flows.
The vulnerability history is a significant concern. With three known CVEs, and one still unpatched, the plugin has a documented history of security flaws, primarily related to Cross-Site Scripting. The fact that the last vulnerability was recorded relatively recently (2025-09-05) indicates that the development team has been active in fixing issues, but also that new ones have emerged. The presence of unpatched vulnerabilities, even if medium severity, poses an ongoing risk to users of this version. While the current code analysis shows no glaring immediate threats, the historical pattern of XSS vulnerabilities and the existence of an unpatched CVE necessitate caution.
Key Concerns
- Unpatched CVE found
- Medium severity vulnerabilities in history
- Inconsistent output escaping (40% unescaped)
- No nonce checks on entry points
PrettyPhoto – Simple Lightbox Plugin Security Vulnerabilities
CVEs by Year
Severity Breakdown
3 total CVEs
prettyPhoto <= 1.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting
WordPress prettyPhoto <= 1.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via url Parameter
WordPress prettyPhoto <= 1.1 - DOM Cross-Site Scripting
PrettyPhoto – Simple Lightbox Plugin Code Analysis
Output Escaping
PrettyPhoto – Simple Lightbox Plugin Attack Surface
WordPress Hooks 11
Maintenance & Trust
PrettyPhoto – Simple Lightbox Plugin Maintenance & Trust
Maintenance Signals
Community Trust
PrettyPhoto – Simple Lightbox Plugin Alternatives
FancyBox for WordPress
fancybox-for-wordpress
Seamlessly integrates FancyBox lightbox into your WordPress blog: Upload, activate, and you're done. Additional configuration optional.
ARI Fancy Lightbox – Popup for WordPress
ari-fancy-lightbox
Lightbox for WordPress with social and viral features. Show photos, gallery, PDF, videos, WooCommerce images, inline content, Google Maps links.
FancyBox
fancy-box
Enables fancybox on all image links including BMP, GIF, JPG, JPEG, and PNG links.
PhotoSwipe
photo-swipe
A very light implementation of PhotoSwipe javascript plugin for WordPress
fancyBox 3 for WordPress
w3dev-fancybox
Seamlessly integrates the fancyBox 3 script into your WordPress installation: Upload, activate, and you're done. Additional configuration is opti …
PrettyPhoto – Simple Lightbox Plugin Developer Profile
6 plugins · 3K total installs
How We Detect PrettyPhoto – Simple Lightbox Plugin
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/prettyphoto/css/prettyPhoto.css/wp-content/plugins/prettyphoto/js/jquery.prettyPhoto.js/wp-content/plugins/prettyphoto/js/jquery.prettyPhoto.jsprettyphoto/css/prettyPhoto.css?ver=prettyphoto/js/jquery.prettyPhoto.js?ver=HTML / DOM Fingerprints
pp_pic_holderpp_contentpp_fadepp_overlaypp_toppp_bottompp_loaderIconpp_nav+10 more<!-- No, Direct access Sir !!! -->rel='prettyPhoto'prettyPhoto