WP Consent API Security & Risk Analysis

wordpress.org/plugins/wp-consent-api

Simple Consent API to read and register the current consent category.

200K active installs v2.0.1 PHP 7.4+ WP 5.0+ Updated Mar 12, 2026
apicomplianceconsentcookiesprivacy
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Consent API Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 22d ago
Risk Assessment

The static analysis of wp-consent-api v2.0.1 reveals a very strong security posture based on the provided data. The absence of any identified attack surface points like AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the potential for direct exploitation. Furthermore, the code signals show excellent security practices, with all SQL queries utilizing prepared statements, all output being properly escaped, and no use of dangerous functions or file operations. The lack of external HTTP requests and the absence of taint analysis findings further bolster this positive assessment.

The vulnerability history shows a clean slate with zero recorded CVEs of any severity. This suggests a well-maintained plugin or, at the very least, one that has not historically been a target or source of significant security flaws. The combination of robust code practices and a lack of historical vulnerabilities paints a picture of a highly secure plugin.

While the current analysis indicates a near-perfect security profile, it's important to note the absence of nonce and capability checks in the analyzed code signals. Although there are no identified entry points to exploit these checks, any future expansion of the plugin's functionality that introduces new entry points without proper authorization and nonce verification would represent a significant security risk. Based on the current data, the plugin demonstrates excellent security, with no immediate exploitable vulnerabilities identified.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

WP Consent API Security Vulnerabilities

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

WP Consent API Code Analysis

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

Output Escaping

100% escaped14 total outputs
Attack Surface

WP Consent API Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionwp_enqueue_scriptsinc\api-functions.php:70
actionadmin_enqueue_scriptsinc\api-functions.php:85
filtersite_status_testsinc\class-wp-consent-api-site-health.php:54
actionset_comment_cookiesinc\wordpress-comments-functions.php:40
filtercomment_form_default_fieldsinc\wordpress-comments-functions.php:43
actioninitinc\wordpress-comments-functions.php:45
actionplugins_loadedwp-consent-api.php:150
Maintenance & Trust

WP Consent API Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 12, 2026
PHP min version7.4
Downloads779K

Community Trust

Rating100/100
Number of ratings2
Active installs200K
Developer Profile

WP Consent API Developer Profile

Rogier Lankhorst

2 plugins · 200K total installs

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

How We Detect WP Consent API

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-consent-api/assets/js/wp-consent-api.js/wp-content/plugins/wp-consent-api/assets/js/wp-consent-api.min.js/wp-content/plugins/wp-consent-api/assets/css/wp-consent-api.css
Script Paths
/wp-content/plugins/wp-consent-api/assets/js/wp-consent-api.js/wp-content/plugins/wp-consent-api/assets/js/wp-consent-api.min.js
Version Parameters
wp-consent-api.js?ver=wp-consent-api.css?ver=

HTML / DOM Fingerprints

JS Globals
consent_api
FAQ

Frequently Asked Questions about WP Consent API