Yet Another Simple Gallery Security & Risk Analysis

wordpress.org/plugins/yet-another-simple-gallery

Yasg is short for Yet Another Simple Gallery. It cannot get any simpler than that - imho.

40 active installs v1.3 PHP + WP 3.2.1+ Updated Aug 4, 2012
galleryimagesphotosthumbs-galleryyasg
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Yet Another Simple Gallery Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The "yet-another-simple-gallery" plugin v1.3 exhibits a generally good security posture based on the static analysis. It has a very small attack surface with only one shortcode as an entry point and no unprotected AJAX handlers or REST API routes. Furthermore, it avoids dangerous functions, file operations, and external HTTP requests, which are common sources of vulnerabilities. The use of prepared statements for all SQL queries is also a significant strength, mitigating risks of SQL injection.

Key Concerns

  • Output not properly escaped
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Yet Another Simple Gallery Security Vulnerabilities

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

Yet Another Simple Gallery Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Yet Another Simple Gallery Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[gallery] yasg.php:109
WordPress Hooks 2
actionwp_print_scriptsyasg.php:104
actionwp_headyasg.php:105
Maintenance & Trust

Yet Another Simple Gallery Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedAug 4, 2012
PHP min version
Downloads16K

Community Trust

Rating44/100
Number of ratings5
Active installs40
Developer Profile

Yet Another Simple Gallery Developer Profile

Kermit524

1 plugin · 40 total installs

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

How We Detect Yet Another Simple Gallery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/yet-another-simple-gallery/yasg.css/wp-content/plugins/yet-another-simple-gallery/yasg.js/wp-content/plugins/yet-another-simple-gallery/images/prev.png/wp-content/plugins/yet-another-simple-gallery/images/next.png
Script Paths
/wp-content/plugins/yet-another-simple-gallery/yasg.js

HTML / DOM Fingerprints

CSS Classes
yasg_galleryHoldermainImgHolderlightboxmain_imgimg_captiongallery_thumbsnavArrowsarrow+4 more
HTML Comments
<!-- Yet-another-simple-gallery plugin --><!-- End Yet-another-simple-gallery-plugin -->
Data Attributes
id="galleryHolder_id="prev_id="navHolder_id="nav_id="next_
JS Globals
yasg_thumb_widthyasg_thumb_heightyasg_full_widthyasg_full_heightyasg_spacing
Shortcode Output
<div class="yasg_galleryHolder"<div class="mainImgHolder"<a href="<img class="main_img"
FAQ

Frequently Asked Questions about Yet Another Simple Gallery