Mg Before and After Gallery Security & Risk Analysis

wordpress.org/plugins/mg-before-and-after-gallery

A simple, flexible plugin to create responsive before-and-after image comparison sliders with optional labels, titles, and buttons.

0 active installs v1.3 PHP 7.2+ WP 5.0+ Updated Unknown
gallerymg-before-after-imagemg-image-comparisonmg-visual-comparisonslider
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Mg Before and After Gallery Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs
Risk Assessment

The plugin "mg-before-and-after-gallery" v1.3 exhibits a generally strong security posture based on the provided static analysis. The absence of dangerous functions, file operations, and external HTTP requests is a positive indicator. Notably, all SQL queries are properly prepared, and the vast majority of output is correctly escaped, demonstrating good sanitization practices. The presence of both nonce and capability checks further enhances its security, indicating an awareness of common WordPress vulnerabilities. The lack of any recorded vulnerabilities, including critical or high severity ones, and no history of past issues, suggests a well-maintained and secure codebase.

However, the analysis does not provide information on taint flows, which would offer a deeper insight into potential vulnerabilities if malicious data were to enter the application. While the number of entry points is low with none unprotected, a more comprehensive review of the single shortcode's implementation would be beneficial to ensure it handles all inputs securely, especially given that taint analysis data is missing. The plugin's vulnerability history is a significant strength, implying a low likelihood of immediate threats. Overall, this plugin appears to be a low-risk option, with its strengths significantly outweighing any minor concerns that could only be confirmed with more detailed analysis.

Vulnerabilities
None known

Mg Before and After Gallery Security Vulnerabilities

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

Mg Before and After Gallery Code Analysis

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

Output Escaping

97% escaped122 total outputs
Attack Surface

Mg Before and After Gallery Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[MGBA_before_after_slider] frontend\MGBA_frontend.php:175
WordPress Hooks 8
actioninitbackend\MGBA_admin.php:28
filtermanage_mgba_gallery_posts_columnsbackend\MGBA_admin.php:41
actionmanage_mgba_gallery_posts_custom_columnbackend\MGBA_admin.php:62
actionadd_meta_boxesbackend\MGBA_admin.php:92
actionadd_meta_boxesbackend\MGBA_admin.php:121
actionsave_postbackend\MGBA_admin.php:581
actionadmin_enqueue_scriptsmg-before-and-after-gallery.php:17
actionwp_enqueue_scriptsmg-before-and-after-gallery.php:45
Maintenance & Trust

Mg Before and After Gallery Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedUnknown
PHP min version7.2
Downloads134

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Mg Before and After Gallery Developer Profile

mgplugin

10 plugins · 850 total installs

97
trust score
Avg Security Score
95/100
Avg Patch Time
5 days
View full developer profile
Detection Fingerprints

How We Detect Mg Before and After Gallery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/mg-before-and-after-gallery/assets/css/MGBA_admin_style.css/wp-content/plugins/mg-before-and-after-gallery/assets/js/MGBA_admin_script.js/wp-content/plugins/mg-before-and-after-gallery/assets/css/MGBA_frontend_style.css/wp-content/plugins/mg-before-and-after-gallery/assets/js/MGBA_frontend_script.js
Script Paths
/wp-content/plugins/mg-before-and-after-gallery/assets/js/MGBA_admin_script.js/wp-content/plugins/mg-before-and-after-gallery/assets/js/MGBA_frontend_script.js

HTML / DOM Fingerprints

CSS Classes
MGBA-tabs-containerMGBA-tabs-sidebarMGBA-tab-buttonMGBA-tab-contentMGBA-upload-previewMGBA-before-previewMGBA-preview-wrapperMGBA-remove-preview+2 more
HTML Comments
<!-- Content Tab -->
Data Attributes
data-tabid
Shortcode Output
[MGBA_before_after_slider id="[MGBA_before_after_slider id=&quot;
FAQ

Frequently Asked Questions about Mg Before and After Gallery