Gantry 5 Framework Security & Risk Analysis

wordpress.org/plugins/gantry5

Gantry is a comprehensive set of building blocks to enable the rapid development and realization of a design into a flexible and powerful web platform

8K active installs v5.6.0 PHP 8.1.0+ WP 5.2+ Updated Feb 24, 2026
frameworkgantrygantry5templatetheme
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Gantry 5 Framework Safe to Use in 2026?

Generally Safe

Score 100/100

Gantry 5 Framework 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 Gantry5 plugin v5.6.0 exhibits a mixed security posture. On the positive side, it demonstrates good practices by using prepared statements for all SQL queries and has a clean vulnerability history with no known CVEs. However, the static analysis reveals significant areas of concern, particularly regarding its attack surface and data handling. The presence of two AJAX handlers without authentication checks represents a direct risk, potentially allowing unauthorized actions. Furthermore, the use of the `unserialize` function, especially without strong input validation or sanitization, is a known vector for remote code execution vulnerabilities. While taint analysis did not reveal critical or high severity flows, the presence of two flows with unsanitized paths warrants attention as they could be chained with other vulnerabilities. The moderate output escaping (59%) also suggests a risk of cross-site scripting (XSS) vulnerabilities, although the taint analysis didn't confirm them. In conclusion, while Gantry5 appears to have a robust history of security, the current version has identifiable weaknesses in its entry point security and data deserialization that need to be addressed.

Key Concerns

  • Unprotected AJAX handlers
  • Use of unserialize function
  • Unsanitized paths in taint analysis
  • Moderate output escaping (59%)
Vulnerabilities
None known

Gantry 5 Framework Security Vulnerabilities

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

Gantry 5 Framework Code Analysis

Dangerous Functions
2
Raw SQL Queries
0
4 prepared
Unescaped Output
38
54 escaped
Nonce Checks
2
Capability Checks
6
File Operations
36
External Requests
5
Bundled Libraries
0

Dangerous Functions Found

unserialize$this->__unserialize(unserialize($serialized, ['allowed_classes' => $this->getUnserializeAllowedClassrc\classes\Gantry\Component\Serializable\Serializable.php:44
unserialize$value = unserialize($value);src\classes\Leafo\ScssPhp\Compiler.php:459

SQL Query Safety

100% prepared4 total queries

Output Escaping

59% escaped92 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
ajax_particle (src\classes\Gantry\Framework\Theme.php:634)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Gantry 5 Framework Attack Surface

Entry Points3
Unprotected2

AJAX Handlers 3

authwp_ajax_gantry5admin\init.php:14
authwp_ajax_puc_v5_debug_check_nowplugin-update-checker\Puc\v5p6\DebugBar\Extension.php:29
authwp_ajax_puc_v5_debug_request_infoplugin-update-checker\Puc\v5p6\DebugBar\PluginExtension.php:16
WordPress Hooks 51
actionadmin_initadmin\init.php:12
actionadmin_enqueue_scriptsadmin\init.php:13
filterupgrader_package_optionsadmin\init.php:15
filterupgrader_source_selectionadmin\init.php:16
actionupgrader_post_installadmin\init.php:17
actionadmin_headadmin\init.php:20
filterwp_setup_nav_menu_itemadmin\init.php:21
filterwp_edit_nav_menu_walkeradmin\init.php:22
filterpre_wp_unique_post_slugadmin\init.php:23
actionadmin_enqueue_scriptsadmin\init.php:28
actionadmin_menuadmin\init.php:38
filteradmin_body_classadmin\init.php:184
actionadmin_initadmin\settings.php:4
actionadmin_menuadmin\settings.php:5
actionnetwork_admin_menuadmin\settings.php:6
filterplugin_action_linksadmin\settings.php:7
filternetwork_admin_plugin_action_linksadmin\settings.php:8
actionadmin_noticesgantry5.php:23
actionadmin_initgantry5.php:50
filterkses_allowed_protocolsgantry5.php:72
actioninitgantry5.php:97
filterplugin_localegantry5.php:105
actionupgrader_pre_installgantry5.php:152
actionupgrader_post_installgantry5.php:175
filterdebug_bar_panelsplugin-update-checker\Puc\v5p6\DebugBar\Extension.php:26
actiondebug_bar_enqueue_scriptsplugin-update-checker\Puc\v5p6\DebugBar\Extension.php:27
filterupgrader_post_installplugin-update-checker\Puc\v5p6\Plugin\Package.php:37
actiondelete_site_transient_update_pluginsplugin-update-checker\Puc\v5p6\Plugin\Package.php:38
actionadmin_initplugin-update-checker\Puc\v5p6\Plugin\Ui.php:19
filterplugin_row_metaplugin-update-checker\Puc\v5p6\Plugin\Ui.php:26
filterplugin_row_metaplugin-update-checker\Puc\v5p6\Plugin\Ui.php:27
actionall_admin_noticesplugin-update-checker\Puc\v5p6\Plugin\Ui.php:28
filterplugins_apiplugin-update-checker\Puc\v5p6\Plugin\UpdateChecker.php:101
filtercron_schedulesplugin-update-checker\Puc\v5p6\Scheduler.php:53
actionadmin_initplugin-update-checker\Puc\v5p6\Scheduler.php:78
actionload-update-core.phpplugin-update-checker\Puc\v5p6\Scheduler.php:82
actionupgrader_process_completeplugin-update-checker\Puc\v5p6\Scheduler.php:90
actionupgrader_process_completeplugin-update-checker\Puc\v5p6\Scheduler.php:91
actioninitplugin-update-checker\Puc\v5p6\UpdateChecker.php:120
filterupgrader_source_selectionplugin-update-checker\Puc\v5p6\UpdateChecker.php:168
filterhttp_request_host_is_externalplugin-update-checker\Puc\v5p6\UpdateChecker.php:172
filterhttp_request_argsplugin-update-checker\Puc\v5p6\UpdateChecker.php:176
actionplugins_loadedplugin-update-checker\Puc\v5p6\UpdateChecker.php:182
actionpuc_api_errorplugin-update-checker\Puc\v5p6\UpdateChecker.php:362
filterupgrader_pre_installplugin-update-checker\Puc\v5p6\UpgraderStatus.php:19
filterupgrader_package_optionsplugin-update-checker\Puc\v5p6\UpgraderStatus.php:20
filterupgrader_post_installplugin-update-checker\Puc\v5p6\UpgraderStatus.php:21
actionupgrader_process_completeplugin-update-checker\Puc\v5p6\UpgraderStatus.php:22
filterupgrader_pre_downloadplugin-update-checker\Puc\v5p6\Vcs\GitHubApi.php:355
filterhttp_request_argsplugin-update-checker\Puc\v5p6\Vcs\GitHubApi.php:404
actionrequests-requests.before_redirectplugin-update-checker\Puc\v5p6\Vcs\GitHubApi.php:405
Maintenance & Trust

Gantry 5 Framework Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedFeb 24, 2026
PHP min version8.1.0
Downloads329K

Community Trust

Rating92/100
Number of ratings32
Active installs8K
Developer Profile

Gantry 5 Framework Developer Profile

Gantry

1 plugin · 8K total installs

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

How We Detect Gantry 5 Framework

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/gantry5/assets/css/wordpress-admin-icon.css/wp-content/plugins/gantry5/assets/css/gantry.css/wp-content/plugins/gantry5/assets/js/gantry.js
Script Paths
/wp-content/plugins/gantry5/assets/js/gantry.js
Version Parameters
gantry5/assets/css/gantry.css?ver=gantry5/assets/js/gantry.js?ver=

HTML / DOM Fingerprints

CSS Classes
gantry-fieldgantry-pagegantry-sublevelg-rowg-colg-containerg-gridgantry-particle+2 more
HTML Comments
<!-- Gantry 5 Framework --><!-- Gantry 5 Admin Settings -->
Data Attributes
data-gantry-fielddata-gantry-iddata-gantry-typedata-gantry-positiondata-gantry-settings
JS Globals
GantryAdminGantry
FAQ

Frequently Asked Questions about Gantry 5 Framework