Medical Before After Gallery Security & Risk Analysis

wordpress.org/plugins/medical-before-after-gallery

A simple before-after image gallery plugin designed for medical professionals and healthcare practices.

30 active installs v1.3.4 PHP 7.4+ WP 5.0+ Updated Mar 2, 2026
before-aftercomparisongalleryhealthcaremedical
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Medical Before After Gallery Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 1mo ago
Risk Assessment

The "medical-before-after-gallery" v1.3.4 plugin demonstrates a generally strong security posture based on the provided static analysis. The absence of any known CVEs, critical taint flows, and a high percentage of properly escaped output are positive indicators. Furthermore, the plugin utilizes prepared statements for all SQL queries, which is a significant security best practice. The attack surface is well-managed with all identified entry points (AJAX handlers, REST API routes, and shortcodes) appearing to have proper authorization checks (though the static analysis explicitly states 0 unprotected entry points). Nonce and capability checks are also implemented.

However, a minor concern arises from the single file operation, which, while not flagged as an issue in taint analysis, always warrants careful scrutiny. The fact that 5% of output is not properly escaped, although relatively low, could still present a cross-site scripting (XSS) vulnerability if the unescaped data is user-controllable. The plugin's vulnerability history being completely clean suggests diligent development and maintenance practices, but it doesn't eliminate the potential for undiscovered vulnerabilities. Overall, the plugin appears to be developed with security in mind, with good practices in place, but the small percentage of unescaped output remains a minor area for improvement.

Key Concerns

  • Minor unescaped output detected
  • Presence of file operations
Vulnerabilities
None known

Medical Before After Gallery Security Vulnerabilities

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

Medical Before After Gallery Code Analysis

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

Output Escaping

95% escaped145 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
medbeafgallery_crop_image_ajax (includes\ajax-handlers.php:16)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Medical Before After Gallery Attack Surface

Entry Points9
Unprotected0

AJAX Handlers 3

authwp_ajax_medbeafgallery_crop_imageincludes\ajax-handlers.php:128
noprivwp_ajax_medbeafgallery_get_casesmedical-before-after-gallery.php:273
authwp_ajax_medbeafgallery_get_casesmedical-before-after-gallery.php:274

REST API Routes 5

GET/wp-json/medical-before-after-gallery/v1/gallery-dataincludes\rest.php:30
GET/wp-json/medical-before-after-gallery/v1/categoriesincludes\rest.php:37
GET/wp-json/medical-before-after-gallery/v1/all-category-imageincludes\rest.php:44
POST/wp-json/medical-before-after-gallery/v1/all-category-imageincludes\rest.php:52
DELETE/wp-json/medical-before-after-gallery/v1/all-category-imageincludes\rest.php:60

Shortcodes 1

[medbeafgallery] includes\shortcodes.php:273
WordPress Hooks 45
actionadmin_noticesadmin\dashboard.php:173
filterparent_fileadmin\menu.php:101
filtersubmenu_fileadmin\menu.php:116
actionadmin_menuadmin\menu.php:122
actioninitadmin\menu.php:124
actionadd_meta_boxesadmin\metaboxes.php:47
actionsave_post_medbeafgallery_caseadmin\metaboxes.php:447
actionadmin_enqueue_scriptsadmin\metaboxes.php:666
actionmedbeafgallery_category_add_form_fieldsadmin\metaboxes.php:694
actionmedbeafgallery_category_edit_form_fieldsadmin\metaboxes.php:726
actionadmin_enqueue_scriptsadmin\metaboxes.php:850
actionedited_medbeafgallery_categoryadmin\metaboxes.php:881
actioncreate_medbeafgallery_categoryadmin\metaboxes.php:882
actionadmin_enqueue_scriptsincludes\admin-functions.php:105
actionmanage_medbeafgallery_case_posts_custom_columnincludes\admin-functions.php:150
actioninitincludes\post-types.php:85
actionpre_delete_termincludes\post-types.php:153
filtermanage_edit-medbeafgallery_category_columnsincludes\post-types.php:162
filtermanage_medbeafgallery_category_custom_columnincludes\post-types.php:175
filtermedbeafgallery_settings_fieldsincludes\post-types.php:226
actionmedbeafgallery_settings_savedincludes\post-types.php:240
filterwp_terms_checklist_argsincludes\post-types.php:294
actionsave_postincludes\post-types.php:323
actionadmin_enqueue_scriptsincludes\post-types.php:352
actionrest_api_initincludes\rest.php:68
actionwp_headincludes\utilities.php:678
actionwp_enqueue_scriptsincludes\utilities.php:687
actionwp_headincludes\utilities.php:688
actionwp_footerincludes\utilities.php:745
actioninitincludes\utilities.php:800
actionwp_enqueue_scriptsincludes\utilities.php:801
actionadmin_noticesmedical-before-after-gallery.php:64
actionplugins_loadedmedical-before-after-gallery.php:203
actionwp_enqueue_scriptsmedical-before-after-gallery.php:257
actionsave_postmedical-before-after-gallery.php:328
actiondelete_postmedical-before-after-gallery.php:329
actionadmin_noticesmedical-before-after-gallery.php:381
actionadmin_noticesmedical-before-after-gallery.php:439
actionadmin_initmedical-before-after-gallery.php:488
actionwp_insert_postmedical-before-after-gallery.php:529
filterpre_insert_termmedical-before-after-gallery.php:557
actionadmin_noticesmedical-before-after-gallery.php:683
actionadmin_headmedical-before-after-gallery.php:714
actionadmin_headmedical-before-after-gallery.php:739
actionadmin_menumedical-before-after-gallery.php:779
Maintenance & Trust

Medical Before After Gallery Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMar 2, 2026
PHP min version7.4
Downloads588

Community Trust

Rating100/100
Number of ratings6
Active installs30
Developer Profile

Medical Before After Gallery Developer Profile

WPpluginDev

1 plugin · 30 total installs

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

How We Detect Medical Before 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/medical-before-after-gallery/assets/css/gallery.css/wp-content/plugins/medical-before-after-gallery/assets/vendor/cocoen/cocoen.min.js/wp-content/plugins/medical-before-after-gallery/assets/js/gallery.js
Script Paths
/wp-content/plugins/medical-before-after-gallery/assets/vendor/cocoen/cocoen.min.js/wp-content/plugins/medical-before-after-gallery/assets/js/gallery.js
Version Parameters
medical-before-after-gallery/assets/css/gallery.css?ver=medical-before-after-gallery/assets/vendor/cocoen/cocoen.min.js?ver=medical-before-after-gallery/assets/js/gallery.js?ver=

HTML / DOM Fingerprints

CSS Classes
medbeafgallery-gallery-wrap
Data Attributes
data-before-after-gallery-id
JS Globals
medbeafgallery_gallery_data
REST Endpoints
/wp-json/medical-before-after-gallery/v1/
Shortcode Output
[medical-before-after-gallery[medbeafgallery_gallery
FAQ

Frequently Asked Questions about Medical Before After Gallery