Contact Form 7 Captcha Security & Risk Analysis

wordpress.org/plugins/contact-form-7-simple-recaptcha

Protect your Contact Form 7 forms with Google reCAPTCHA V2, Google reCAPTCHA V3, hCAPTCHA, or Cloudflare Turnstile.

100K active installs v0.1.7 PHP + WP 4.1.2+ Updated Feb 1, 2026
captchacontact-form-7hcaptcharecaptchaspam-protection
99
A · Safe
CVEs total2
Unpatched0
Last CVEJun 27, 2022
Download
Safety Verdict

Is Contact Form 7 Captcha Safe to Use in 2026?

Generally Safe

Score 99/100

Contact Form 7 Captcha has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Jun 27, 2022Updated 2mo ago
Risk Assessment

The plugin 'contact-form-7-simple-recaptcha' version 0.1.7 exhibits a generally good security posture based on the provided static analysis. It demonstrates a commitment to secure coding practices, with all SQL queries using prepared statements and a high percentage of output being properly escaped. The absence of direct file operations and dangerous functions further strengthens its security. Importantly, all identified entry points, including shortcodes, appear to be protected by appropriate checks, and there are no identified unsanitized taint flows of critical or high severity.

However, the plugin's vulnerability history raises some concerns. It has had two known CVEs in the past, with one high and one medium severity vulnerability previously discovered. While there are no currently unpatched vulnerabilities, the historical presence of Cross-Site Scripting (XSS) issues indicates potential weaknesses in input sanitization or output escaping in previous versions. The presence of external HTTP requests, while not inherently a vulnerability, represents a potential attack vector if the target endpoints are compromised or malicious. Overall, while the current version shows strong secure coding practices, the past vulnerability record warrants continued vigilance and regular security audits.

Key Concerns

  • Past High/Medium severity vulnerabilities found
  • Presence of external HTTP requests
Vulnerabilities
2

Contact Form 7 Captcha Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
1 CVE in 2022
2022
Patched Has unpatched

Severity Breakdown

High
1
Medium
1

2 total CVEs

CVE-2022-2187medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Contact Form 7 Captcha <= 0.1.1 - Reflected Cross-Site Scripting

Jun 27, 2022 Patched in 0.1.2 (575d)
CVE-2021-24565high · 8.8Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Contact Form 7 Captcha <= 0.0.8 - Cross-Site Request Forgery to Stored Cross-Site Scripting

Jul 26, 2021 Patched in 0.0.9 (911d)
Code Analysis
Analyzed Mar 16, 2026

Contact Form 7 Captcha Code Analysis

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

Output Escaping

97% escaped136 total outputs
Data Flows
All sanitized

Data Flow Analysis

4 flows
<admin-hcaptcha> (includes\admin-hcaptcha.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Contact Form 7 Captcha Attack Surface

Entry Points5
Unprotected0

Shortcodes 5

[cf7sr-hcaptcha] includes\hcaptcha.php:70
[cf7sr-v3-recaptcha] includes\recaptcha-v3.php:54
[cf7sr-simple-recaptcha] includes\recaptcha.php:73
[cf7sr-recaptcha] includes\recaptcha.php:74
[cf7sr-turnstile] includes\turnstile.php:72
WordPress Hooks 13
filterwpcf7_spamcontact-form-7-simple-recaptcha.php:35
filterwpcf7_display_messagecontact-form-7-simple-recaptcha.php:37
actionadmin_noticescontact-form-7-simple-recaptcha.php:60
filterwpcf7_form_elementscontact-form-7-simple-recaptcha.php:67
actionadmin_enqueue_scriptscontact-form-7-simple-recaptcha.php:79
actionadmin_noticescontact-form-7-simple-recaptcha.php:116
actionadmin_menucontact-form-7-simple-recaptcha.php:185
filterwpcf7_validateincludes\hcaptcha.php:134
filterwpcf7_mail_componentsincludes\insights.php:50
filterwpcf7_validateincludes\recaptcha-v3.php:114
filterwpcf7_validateincludes\recaptcha.php:136
actionadmin_initincludes\stats.php:101
filterwpcf7_validateincludes\turnstile.php:134
Maintenance & Trust

Contact Form 7 Captcha Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 1, 2026
PHP min version
Downloads1.0M

Community Trust

Rating82/100
Number of ratings48
Active installs100K
Developer Profile

Contact Form 7 Captcha Developer Profile

LukasApps

1 plugin · 100K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
743 days
View full developer profile
Detection Fingerprints

How We Detect Contact Form 7 Captcha

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/contact-form-7-simple-recaptcha/assets/css/admin.css
Version Parameters
contact-form-7-simple-recaptcha/assets/css/admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
cf7sr-content
Data Attributes
data-sitekeydata-callbackdata-expired-callback
JS Globals
cf7srLoadHcaptchahcaptchaIdsgrecaptchacf7sr_recaptcha_v3_settingscf7sr_recaptcha_v3_readycf7sr_turnstile_load
Shortcode Output
[cf7sr-recaptcha][cf7sr-hcaptcha][cf7sr-turnstile]
FAQ

Frequently Asked Questions about Contact Form 7 Captcha