PrettyPhoto – Simple Lightbox Plugin Security & Risk Analysis

wordpress.org/plugins/prettyphoto

An easy to use lightbox/thickbox clone for WordPress. Prettyphoto Elementor Addon supports

2K active installs v1.2.5 PHP + WP + Updated Sep 14, 2025
fancyboxlightboxprettyphotothickboxwordpress-likghtbox
75
B · Generally Safe
CVEs total3
Unpatched1
Last CVESep 5, 2025
Safety Verdict

Is PrettyPhoto – Simple Lightbox Plugin Safe to Use in 2026?

Mostly Safe

Score 75/100

PrettyPhoto – Simple Lightbox Plugin is generally safe to use. 3 past CVEs were resolved. Keep it updated.

3 known CVEs 1 unpatched Last CVE: Sep 5, 2025Updated 6mo ago
Risk Assessment

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
Vulnerabilities
3

PrettyPhoto – Simple Lightbox Plugin Security Vulnerabilities

CVEs by Year

1 CVE in 2015
2015
1 CVE in 2024
2024
1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Medium
3

3 total CVEs

CVE-2025-58808medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

prettyPhoto <= 1.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting

Sep 5, 2025Unpatched
CVE-2024-5162medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WordPress prettyPhoto <= 1.2.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via url Parameter

Jun 5, 2024 Patched in 1.2.4 (356d)
WF-0a33282c-2adb-4f26-8fc4-918a48bfd040-prettyphotomedium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WordPress prettyPhoto <= 1.1 - DOM Cross-Site Scripting

May 5, 2015 Patched in 1.2 (3185d)
Code Analysis
Analyzed Mar 16, 2026

PrettyPhoto – Simple Lightbox Plugin Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
2
3 escaped
Nonce Checks
0
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

60% escaped5 total outputs
Attack Surface

PrettyPhoto – Simple Lightbox Plugin Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
filterplugin_row_metaclass-wordpress-prettyphoto.php:21
actionwp_enqueue_scriptsclass-wordpress-prettyphoto.php:24
filterwp_footerclass-wordpress-prettyphoto.php:25
actionelementor/widgets/widgets_registeredclass-wordpress-prettyphoto.php:28
filterattachment_fields_to_editclass-wordpress-prettyphoto.php:31
filterattachment_fields_to_saveclass-wordpress-prettyphoto.php:32
filterimage_send_to_editorclass-wordpress-prettyphoto.php:35
actionadmin_headclass-wordpress-prettyphoto.php:37
actionadmin_noticesclass-wordpress-prettyphoto.php:147
actionadmin_noticesclass-wordpress-prettyphoto.php:153
actionadmin_noticesclass-wordpress-prettyphoto.php:159
Maintenance & Trust

PrettyPhoto – Simple Lightbox Plugin Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedSep 14, 2025
PHP min version
Downloads89K

Community Trust

Rating56/100
Number of ratings15
Active installs2K
Developer Profile

PrettyPhoto – Simple Lightbox Plugin Developer Profile

Babar

6 plugins · 3K total installs

71
trust score
Avg Security Score
88/100
Avg Patch Time
1771 days
View full developer profile
Detection Fingerprints

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

Asset Paths
/wp-content/plugins/prettyphoto/css/prettyPhoto.css/wp-content/plugins/prettyphoto/js/jquery.prettyPhoto.js
Script Paths
/wp-content/plugins/prettyphoto/js/jquery.prettyPhoto.js
Version Parameters
prettyphoto/css/prettyPhoto.css?ver=prettyphoto/js/jquery.prettyPhoto.js?ver=

HTML / DOM Fingerprints

CSS Classes
pp_pic_holderpp_contentpp_fadepp_overlaypp_toppp_bottompp_loaderIconpp_nav+10 more
HTML Comments
<!-- No, Direct access Sir !!! -->
Data Attributes
rel='prettyPhoto'
JS Globals
prettyPhoto
FAQ

Frequently Asked Questions about PrettyPhoto – Simple Lightbox Plugin