Gallery Class Security & Risk Analysis

wordpress.org/plugins/gallery-class

Gallery Class adds a new setting in the media gallery settings to set a custom CSS class.

10 active installs v1.0.1 PHP + WP 4.0+ Updated Dec 7, 2016
classclassescsshtmlwrapper
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Gallery Class Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The plugin "gallery-class" v1.0.1 exhibits a strong security posture based on the provided static analysis and vulnerability history. The absence of any identified dangerous functions, SQL queries without prepared statements, unescaped output, file operations, or external HTTP requests is a significant strength. Furthermore, the lack of any known CVEs and a clean vulnerability history suggests a well-maintained and secure plugin over time. The plugin also demonstrates no critical or high severity taint flows, indicating that data is likely handled safely. The attack surface is reported as zero, with no AJAX handlers, REST API routes, shortcodes, or cron events, which further minimizes potential entry points for attackers. This plugin appears to follow excellent security development practices, with no immediately apparent vulnerabilities or weaknesses.

Vulnerabilities
None known

Gallery Class Security Vulnerabilities

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

Gallery Class Code Analysis

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

Output Escaping

100% escaped1 total outputs
Attack Surface

Gallery Class Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionwp_enqueue_mediagallery-class.php:37
actionprint_media_templatesgallery-class.php:38
actionadmin_initgallery-class.php:88
filterpost_gallerygallery-class.php:89
Maintenance & Trust

Gallery Class Maintenance & Trust

Maintenance Signals

WordPress version tested4.7.32
Last updatedDec 7, 2016
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Gallery Class Developer Profile

santerref

3 plugins · 680 total installs

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

How We Detect Gallery Class

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/gallery-class/gallery-class.js
Script Paths
/wp-content/plugins/gallery-class/gallery-class.js

HTML / DOM Fingerprints

CSS Classes
gallery-wrapper
Data Attributes
data-setting="class"
Shortcode Output
<div class="gallery-wrapper ">
FAQ

Frequently Asked Questions about Gallery Class