Gallery Just Better Security & Risk Analysis

wordpress.org/plugins/gallery-just-better

It's a tiny bit more flexible than wp native gallery. It finally allows non-linked images and images linking to external URLs.

10 active installs v0.3 PHP + WP 2.5+ Updated Apr 4, 2011
galleryimageimagesmosaicpicture
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Gallery Just Better Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 15yr ago
Risk Assessment

The gallery-just-better plugin version 0.3 exhibits a generally strong security posture based on the provided static analysis. It demonstrates good practices by avoiding dangerous functions, using prepared statements for all SQL queries, and properly escaping all output. The absence of file operations and external HTTP requests further reduces potential attack vectors. Notably, there are no recorded vulnerabilities (CVEs) for this plugin, suggesting a history of secure development or a lack of discovered flaws. The attack surface is minimal, with only one shortcode identified and no unprotected entry points.

However, there are a few areas that could be improved. The absence of nonce checks and capability checks on its single entry point (the shortcode) represents a potential weakness. While the static analysis found no taint flows, the lack of these checks means that if any user-supplied data were to be processed by the shortcode without proper sanitization and validation within the shortcode's callback function itself, it could lead to vulnerabilities. The plugin's limited functionality and small attack surface likely contribute to its clean vulnerability history, but relying solely on this is not a robust security strategy. Overall, while the current version appears secure due to its limited features and good coding practices, the lack of explicit authorization checks on its shortcode is a concern that should be addressed to prevent future issues if functionality expands.

Key Concerns

  • Missing nonce checks on shortcode
  • Missing capability checks on shortcode
Vulnerabilities
None known

Gallery Just Better Security Vulnerabilities

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

Gallery Just Better Code Analysis

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

Output Escaping

100% escaped5 total outputs
Attack Surface

Gallery Just Better Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[galleryjb] galleryjustbetter.php:35
Maintenance & Trust

Gallery Just Better Maintenance & Trust

Maintenance Signals

WordPress version tested3.1.4
Last updatedApr 4, 2011
PHP min version
Downloads5K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Gallery Just Better Developer Profile

Stefi

2 plugins · 410 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 Just Better

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/gallery-just-better/gallery-just-better.css/wp-content/plugins/gallery-just-better/gallery-just-better.js
Script Paths
/wp-content/plugins/gallery-just-better/gallery-just-better.js
Version Parameters
gallery-just-better/gallery-just-better.css?ver=gallery-just-better/gallery-just-better.js?ver=

HTML / DOM Fingerprints

CSS Classes
gallery-itemgallery-icongallery-captionwp-caption-textgalleryid-gallery-columns-gallery-size-
HTML Comments
<!-- see gallery_shortcode() in wp-includes/media.php -->
Data Attributes
galleryjb
Shortcode Output
<p style="text-align:center; font-size: 0.8em">powered by <a target="_blank" href="http://www.stefaniamarchisio.com/gallery-just-better-plugin/">Gallery Just Better plugin</a></p>
FAQ

Frequently Asked Questions about Gallery Just Better