Advanced Custom Fields: Restrict Color Picker Options Security & Risk Analysis

wordpress.org/plugins/acf-restrict-color-picker

Restrict Advanced Custom Fields color picker to a specific subset of colors. Removes color wheel from the field UI so user can't pick other color …

1K active installs v1.3.1 PHP 7.0+ WP 4.0+ Updated Jan 25, 2022
acfcolorcustom-fields
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Advanced Custom Fields: Restrict Color Picker Options Safe to Use in 2026?

Generally Safe

Score 85/100

Advanced Custom Fields: Restrict Color Picker Options has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The plugin 'acf-restrict-color-picker' version 1.3.1 exhibits a strong security posture based on the provided static analysis. The absence of identified AJAX handlers, REST API routes, shortcodes, or cron events signifies a very small attack surface, and importantly, all identified entry points are reported as protected. Furthermore, the plugin avoids dangerous functions, uses prepared statements exclusively for SQL queries, and does not perform file operations or external HTTP requests. This demonstrates good development practices in these critical areas.

However, there are notable areas for concern. The plugin reports 0 nonce checks and 0 capability checks. While the static analysis indicates no unprotected entry points, the lack of these fundamental WordPress security mechanisms on any potential interaction points leaves it vulnerable to CSRF and unauthorized access if new entry points are introduced or if the existing ones are not as securely implemented as the analysis suggests. Additionally, 50% of the output is not properly escaped, which could lead to potential XSS vulnerabilities if user-supplied data is rendered directly without sanitization.

The plugin's vulnerability history is clean, with 0 known CVEs and no recorded vulnerabilities. This is a significant positive indicator of the plugin's security over its lifecycle. However, it's crucial to remember that past performance is not a guarantee of future results. The lack of built-in security checks like nonces and capability checks, coupled with the unescaped output, presents a latent risk that could be exploited if not addressed. The overall security is good due to a small attack surface and secure SQL practices, but the missing fundamental security checks and unescaped output are significant weaknesses.

Key Concerns

  • 50% of output not properly escaped
  • 0 Nonce checks implemented
  • 0 Capability checks implemented
Vulnerabilities
None known

Advanced Custom Fields: Restrict Color Picker Options Security Vulnerabilities

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

Advanced Custom Fields: Restrict Color Picker Options Code Analysis

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

Output Escaping

50% escaped4 total outputs
Attack Surface

Advanced Custom Fields: Restrict Color Picker Options Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actioninitacf-restrict-color-picker.php:49
actionacf/input/admin_enqueue_scriptsacf-restrict-color-picker.php:51
actionacf/input/admin_enqueue_scriptsacf-restrict-color-picker.php:52
actionacf/input/admin_enqueue_scriptsacf-restrict-color-picker.php:53
actionadmin_menuadmin.php:16
actionadmin_initadmin.php:17
Maintenance & Trust

Advanced Custom Fields: Restrict Color Picker Options Maintenance & Trust

Maintenance Signals

WordPress version tested5.9.13
Last updatedJan 25, 2022
PHP min version7.0
Downloads17K

Community Trust

Rating100/100
Number of ratings6
Active installs1K
Developer Profile

Advanced Custom Fields: Restrict Color Picker Options Developer Profile

Adam Walter

2 plugins · 2K total installs

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

How We Detect Advanced Custom Fields: Restrict Color Picker Options

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/acf-restrict-color-picker/assets/acf-restrict-color-picker.css/wp-content/plugins/acf-restrict-color-picker/assets/acf-restrict-color-picker.js
Script Paths
/wp-content/plugins/acf-restrict-color-picker/assets/acf-restrict-color-picker.js
Version Parameters
acf-restrict-color-picker.css?ver=acf-restrict-color-picker.js?ver=

HTML / DOM Fingerprints

JS Globals
acfRCPOptions
FAQ

Frequently Asked Questions about Advanced Custom Fields: Restrict Color Picker Options