WP Comment Policy Checkbox Security & Risk Analysis

wordpress.org/plugins/wp-comment-policy-checkbox

Add a checkbox and custom text to the comment forms so that the user can be informed and give consent to the web's privacy policy.

6K active installs v0.4.1 PHP 5.4+ WP 3.0.2+ Updated Jul 6, 2024
checkboxcommentscustomized-textgdprprivacy-policy
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Comment Policy Checkbox Safe to Use in 2026?

Generally Safe

Score 92/100

WP Comment Policy Checkbox has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The static analysis of wp-comment-policy-checkbox v0.4.1 reveals an exceptionally clean codebase with no identified dangerous functions, SQL queries outside of prepared statements, file operations, or external HTTP requests. The attack surface is minimal, with no exposed AJAX handlers, REST API routes, shortcodes, or cron events. Taint analysis also shows no critical or high severity vulnerabilities, indicating a strong focus on secure coding practices in these areas.

However, a significant concern arises from the complete absence of capability checks and nonce checks. This means that any functionality, if it were to exist and be discoverable, would be accessible to any authenticated user, regardless of their role or permissions. While the current version appears to have a very limited attack surface, this oversight could become a critical vulnerability if new features are added or if existing but undiscovered entry points are exploited.

The plugin's vulnerability history is completely empty, with no recorded CVEs. This, combined with the current clean static analysis, suggests a well-maintained and likely secure plugin up to this version. The strengths lie in the avoidance of common pitfalls like raw SQL and dangerous functions. The primary weakness is the lack of access control mechanisms, which, while not currently exploitable due to the limited attack surface, represents a potential security debt.

Key Concerns

  • Missing capability checks
  • Missing nonce checks
  • Output escaping is not fully implemented
Vulnerabilities
None known

WP Comment Policy Checkbox Security Vulnerabilities

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

WP Comment Policy Checkbox Code Analysis

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

Output Escaping

77% escaped22 total outputs
Attack Surface

WP Comment Policy Checkbox Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actionadmin_initadmin\wp-comment-policy-checkbox-admin.php:21
actionadmin_initadmin\wp-comment-policy-checkbox-admin.php:46
actionadmin_initincludes\wp-comment-policy-checkbox-admin.php:17
actionadmin_initincludes\wp-comment-policy-checkbox-admin.php:53
actionadmin_initincludes\wp-comment-policy-checkbox-admin.php:104
filterwp_privacy_personal_data_erasersincludes\wp-comment-policy-checkbox-data-eraser.php:59
filterwp_privacy_personal_data_exportersincludes\wp-comment-policy-checkbox-data-exporter.php:85
actionplugins_loadedwp-comment-policy-checkbox.php:78
filtercomment_form_fieldswp-comment-policy-checkbox.php:136
actioncomment_postwp-comment-policy-checkbox.php:155
filterpreprocess_commentwp-comment-policy-checkbox.php:170
Maintenance & Trust

WP Comment Policy Checkbox Maintenance & Trust

Maintenance Signals

WordPress version tested6.5.8
Last updatedJul 6, 2024
PHP min version5.4
Downloads53K

Community Trust

Rating100/100
Number of ratings14
Active installs6K
Developer Profile

WP Comment Policy Checkbox Developer Profile

fcojgodoy

2 plugins · 6K total installs

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

How We Detect WP Comment Policy Checkbox

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
comment-form-policy__see-more-linkcomment-form-policy-top-copycomment-form-policycomment-form-policy__inputcomment-form-policy__requiredrequired
Data Attributes
id="policy"name="policy"
FAQ

Frequently Asked Questions about WP Comment Policy Checkbox