ACF Color Swatches Security & Risk Analysis

wordpress.org/plugins/acf-color-swatches

An add-on for Advanced Custom Fields to allow users to select from a list of color choices. Setting up the field works exactly like setting up a radio …

1K active installs v1.0.7 PHP 5.6+ WP 4.0+ Updated Nov 29, 2018
acfadvanced-custom-fieldscolorcolor-pickerswatch
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is ACF Color Swatches Safe to Use in 2026?

Generally Safe

Score 85/100

ACF Color Swatches has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The acf-color-swatches v1.0.7 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of any identified dangerous functions, SQL injection vulnerabilities (all queries are prepared), file operations, or external HTTP requests is commendable. Furthermore, the lack of identified taint flows with unsanitized paths suggests that data handling within the plugin is likely secure against common injection attacks. The plugin also has a clean vulnerability history with no known CVEs, indicating a well-maintained and secure codebase over time.

However, a significant concern arises from the complete absence of capability checks and nonce checks. This means that any functionality exposed by the plugin, even if not immediately apparent from the static analysis (e.g., through front-end JavaScript interactions not fully captured), could potentially be invoked by any logged-in user without proper authorization or validation. While the attack surface appears small and currently unprotected entry points are zero, this lack of granular access control is a critical oversight. The 69% proper output escaping also suggests that there are some instances where output might not be sufficiently sanitized, potentially leading to cross-site scripting (XSS) vulnerabilities if the unescaped data is user-controlled and rendered in a browser context.

In conclusion, while the plugin demonstrates good practices in terms of preventing common injection and code execution vulnerabilities, the lack of capability and nonce checks represents a substantial security weakness. This oversight, coupled with a minority of improperly escaped outputs, presents a risk that outweighs the plugin's otherwise secure codebase. The absence of a history of vulnerabilities is positive but does not mitigate the inherent risks of the current analysis.

Key Concerns

  • No capability checks
  • No nonce checks
  • Some unescaped output detected
Vulnerabilities
None known

ACF Color Swatches Security Vulnerabilities

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

ACF Color Swatches Code Analysis

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

Output Escaping

69% escaped16 total outputs
Attack Surface

ACF Color Swatches Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionacf/include_field_typesacf-swatch.php:24
actionacf/register_fieldsacf-swatch.php:31
Maintenance & Trust

ACF Color Swatches Maintenance & Trust

Maintenance Signals

WordPress version tested
Last updatedNov 29, 2018
PHP min version5.6
Downloads19K

Community Trust

Rating100/100
Number of ratings1
Active installs1K
Developer Profile

ACF Color Swatches Developer Profile

nickforddesign

1 plugin · 1K 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 Color Swatches

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

Asset Fingerprints

Version Parameters
acf-color-swatches/acf-swatch-v5.js?ver=acf-color-swatches/acf-swatch-v4.js?ver=

HTML / DOM Fingerprints

CSS Classes
acf-swatch-listswatch-toggleswatch-color
Data Attributes
data-checked
FAQ

Frequently Asked Questions about ACF Color Swatches