LRW PhotoSwipe Gallery Security & Risk Analysis

wordpress.org/plugins/lrw-photoswipe-gallery

Plugin for implement PhotoSwipe JS plugin in default galleries WordPress.

10 active installs v1.0.3 PHP + WP 3.5+ Updated Dec 1, 2015
galleryimage-galleryphotoswipewordpress-gallery
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is LRW PhotoSwipe Gallery Safe to Use in 2026?

Generally Safe

Score 85/100

LRW PhotoSwipe Gallery has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 10yr ago
Risk Assessment

The "lrw-photoswipe-gallery" v1.0.3 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of any identified attack surface points, dangerous functions, file operations, or external HTTP requests is a significant positive indicator. Furthermore, all SQL queries are properly prepared, mitigating SQL injection risks.

However, a notable concern arises from the low percentage of properly escaped output (20%). This indicates that a significant portion of data displayed to users might be susceptible to cross-site scripting (XSS) vulnerabilities if the data originates from user input or external sources without adequate sanitization before output. The lack of identified taint flows is positive, but this does not negate the risk posed by unescaped output.

The plugin's vulnerability history is clean, with no known CVEs. This, combined with the static analysis findings, suggests the developers have a good understanding of secure coding practices. Despite the potential for XSS due to insufficient output escaping, the overall risk appears manageable given the absence of other exploitable weaknesses and a clean history. A thorough review of the remaining 80% of output handling is recommended to fully address this potential weakness.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

LRW PhotoSwipe Gallery Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

LRW PhotoSwipe Gallery Code Analysis

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

Output Escaping

20% escaped20 total outputs
Attack Surface

LRW PhotoSwipe Gallery Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
actioninitlrw-photoswipe-gallery.php:55
actionadmin_initlrw-photoswipe-gallery.php:59
actionadmin_menulrw-photoswipe-gallery.php:60
filterwp_get_attachment_linklrw-photoswipe-gallery.php:62
filterpost_gallerylrw-photoswipe-gallery.php:63
actioninitlrw-photoswipe-gallery.php:64
filterwp_enqueue_scriptslrw-photoswipe-gallery.php:438
filterwp_footerlrw-photoswipe-gallery.php:439
filterwp_footerlrw-photoswipe-gallery.php:440
filterwp_enqueue_scriptslrw-photoswipe-gallery.php:443
filterwp_footerlrw-photoswipe-gallery.php:444
filterwp_footerlrw-photoswipe-gallery.php:445
actionplugins_loadedlrw-photoswipe-gallery.php:673
Maintenance & Trust

LRW PhotoSwipe Gallery Maintenance & Trust

Maintenance Signals

WordPress version tested4.3.34
Last updatedDec 1, 2015
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

LRW PhotoSwipe Gallery Developer Profile

luizrw

2 plugins · 310 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect LRW PhotoSwipe Gallery

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/lrw-photoswipe-gallery/js/photoswipe.js/wp-content/plugins/lrw-photoswipe-gallery/js/photoswipe-ui-default.js/wp-content/plugins/lrw-photoswipe-gallery/css/photoswipe.css/wp-content/plugins/lrw-photoswipe-gallery/css/default-skin/default-skin.css
Script Paths
/wp-content/plugins/lrw-photoswipe-gallery/js/photoswipe.js/wp-content/plugins/lrw-photoswipe-gallery/js/photoswipe-ui-default.js
Version Parameters
lrw-photoswipe-gallery/js/photoswipe.js?ver=lrw-photoswipe-gallery/js/photoswipe-ui-default.js?ver=lrw-photoswipe-gallery/css/photoswipe.css?ver=lrw-photoswipe-gallery/css/default-skin/default-skin.css?ver=

HTML / DOM Fingerprints

CSS Classes
pswp
Data Attributes
data-pswp-uid
JS Globals
PhotoSwipePhotoSwipeUI_Default
FAQ

Frequently Asked Questions about LRW PhotoSwipe Gallery