ACF Theme Code for Advanced Custom Fields Security & Risk Analysis

wordpress.org/plugins/acf-theme-code

Automatically generate the code needed to implement Advanced Custom Fields in your themes.

10K active installs v2.5.6 PHP 5.6+ WP 4.9.0+ Updated Nov 28, 2023
acfadvanced-custom-fieldsautomationphp
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is ACF Theme Code for Advanced Custom Fields Safe to Use in 2026?

Generally Safe

Score 85/100

ACF Theme Code for Advanced Custom Fields has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The "acf-theme-code" plugin v2.5.6 exhibits a mixed security posture. While the static analysis shows a remarkably small attack surface with zero identified entry points and no reported CVEs in its history, several concerning signals within the code itself warrant attention. The presence of three instances of the `unserialize` function, coupled with a complete lack of output escaping and zero nonce or capability checks, significantly elevates the risk profile. This combination suggests a high potential for arbitrary code execution or data manipulation if malicious data were to be passed to the `unserialize` function, especially given the absence of any input sanitization or validation indicated by the taint analysis results.

The plugin's lack of vulnerability history is a positive indicator of past secure development. However, the current code signals, particularly the unescaped outputs and the use of `unserialize` without any apparent sanitization or checks, create a theoretical but significant risk. The absence of direct entry points might mean this vulnerability is not easily exploitable without specific plugin interaction or hooks not immediately apparent in the provided data, but the potential for compromise remains due to the dangerous functions and lack of protective measures. A secure approach would involve sanitizing all data before unserialization and ensuring all outputs are properly escaped.

In conclusion, while the plugin appears to have a clean vulnerability history and a minimal attack surface, the static analysis reveals critical weaknesses in its coding practices. The dangerous use of `unserialize`, combined with the complete lack of output escaping and security checks, represents a substantial risk that could be exploited. This plugin requires careful review and remediation to address these fundamental security flaws before it can be considered truly secure.

Key Concerns

  • Unescaped output detected
  • Dangerous function 'unserialize' used
  • SQL queries not using prepared statements
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

ACF Theme Code for Advanced Custom Fields Security Vulnerabilities

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

ACF Theme Code for Advanced Custom Fields Code Analysis

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

Dangerous Functions Found

unserialize$this->settings = unserialize( $field_data_obj->meta_value );core\field.php:135
unserialize$this->settings = unserialize( $field_data_obj->post_content );core\field.php:163
unserialize$location_rule = unserialize( $query_result->meta_value );core\locations.php:135

SQL Query Safety

0% prepared2 total queries

Output Escaping

0% escaped239 total outputs
Attack Surface

ACF Theme Code for Advanced Custom Fields Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_initcore\core.php:138
actionadmin_initcore\core.php:139
actionadd_meta_boxescore\core.php:140
actionadmin_enqueue_scriptscore\core.php:141
filterpostbox_classes_acf-field-group_acftc-meta-boxcore\core.php:143
actionadmin_initcore\core.php:147
actionacf/include_admin_toolscore\core.php:148
Maintenance & Trust

ACF Theme Code for Advanced Custom Fields Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedNov 28, 2023
PHP min version5.6
Downloads151K

Community Trust

Rating100/100
Number of ratings42
Active installs10K
Developer Profile

ACF Theme Code for Advanced Custom Fields Developer Profile

Aaron Rutley

2 plugins · 10K total installs

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

How We Detect ACF Theme Code for Advanced Custom Fields

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/acf-theme-code/assets/acf-theme-code-legacy.css/wp-content/plugins/acf-theme-code/assets/acf-theme-code.css/wp-content/plugins/acf-theme-code/assets/acf-theme-code.js
Script Paths
/wp-content/plugins/acf-theme-code/assets/acf-theme-code.js
Version Parameters
acf-theme-code/assets/acf-theme-code-legacy.css?ver=acf-theme-code/assets/acf-theme-code.css?ver=acf-theme-code/assets/acf-theme-code.js?ver=

HTML / DOM Fingerprints

CSS Classes
acftc-pro-meta-box
Data Attributes
data-field-keydata-group-keydata-field-group-id
JS Globals
acftc
FAQ

Frequently Asked Questions about ACF Theme Code for Advanced Custom Fields