DS CF7 Math Captcha Security & Risk Analysis

wordpress.org/plugins/ds-cf7-math-captcha

"DS CF7 Math Captcha" is a math captcha with refresh captcha functionality to prevent unwanted spam for your contact form 7 plugin.

30K active installs v3.1.0 PHP 7.4+ WP 6.5+ Updated Feb 19, 2026
captchacontact-form-7contact-form-7-addoncontact-form-7-captchamath-captcha
99
A · Safe
CVEs total1
Unpatched0
Last CVESep 5, 2024
Download
Safety Verdict

Is DS CF7 Math Captcha Safe to Use in 2026?

Generally Safe

Score 99/100

DS CF7 Math Captcha has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Sep 5, 2024Updated 1mo ago
Risk Assessment

The plugin 'ds-cf7-math-captcha' v3.1.0 exhibits a mixed security posture. On the positive side, the code analysis reveals a strong adherence to secure coding practices. There are no dangerous functions, all SQL queries utilize prepared statements, and a very high percentage of outputs are properly escaped. Furthermore, the plugin demonstrates good use of nonces and capability checks within its code. The absence of critical or high-severity taint flows indicates that data is generally handled safely.

However, significant concerns arise from the attack surface. The plugin exposes two AJAX handlers, both of which lack authentication checks. This presents a direct pathway for unauthenticated users to interact with potentially sensitive functionalities, even if the code analysis itself did not reveal specific exploitable flaws in this version. The vulnerability history shows one known CVE, which was a medium severity Cross-Site Scripting (XSS) vulnerability, last patched in September 2024. While this specific vulnerability is patched, the presence of past vulnerabilities, even if not critical, suggests a need for ongoing vigilance and rigorous security auditing.

In conclusion, while the code itself is largely well-written and secure, the unprotected AJAX endpoints are a notable weakness. Coupled with a history of past vulnerabilities, this warrants caution. The plugin's strengths lie in its diligent use of prepared statements and output escaping. The primary area for improvement is securing all entry points, especially AJAX handlers, to mitigate potential risks.

Key Concerns

  • AJAX handlers without auth checks
  • Medium severity vulnerability in history
Vulnerabilities
1

DS CF7 Math Captcha Security Vulnerabilities

CVEs by Year

1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

Contact Form 7 Math Captcha <= 3.0.0 - Reflected Cross-Site Scripting

Sep 5, 2024 Patched in 3.0.1 (72d)
Code Analysis
Analyzed Mar 16, 2026

DS CF7 Math Captcha Code Analysis

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

Output Escaping

98% escaped96 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
refreshcaptcha_callback (includes\class-dscf7-math-captcha-frontend.php:212)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

DS CF7 Math Captcha Attack Surface

Entry Points2
Unprotected2

AJAX Handlers 2

authwp_ajax_dscf7_refreshcaptchaincludes\class-dscf7-math-captcha-frontend.php:40
noprivwp_ajax_dscf7_refreshcaptchaincludes\class-dscf7-math-captcha-frontend.php:41
WordPress Hooks 10
actionadmin_initincludes\class-dscf7-math-captcha-admin.php:36
filterwpcf7_messagesincludes\class-dscf7-math-captcha-admin.php:37
actionadmin_enqueue_scriptsincludes\class-dscf7-math-captcha-admin.php:38
actionwpcf7_admin_initincludes\class-dscf7-math-captcha-admin.php:39
actionadmin_noticesincludes\class-dscf7-math-captcha-admin.php:49
actionwpcf7_initincludes\class-dscf7-math-captcha-frontend.php:36
filterwpcf7_validate_dscf7captchaincludes\class-dscf7-math-captcha-frontend.php:37
filterwpcf7_validate_dscf7captcha*includes\class-dscf7-math-captcha-frontend.php:38
actionwp_enqueue_scriptsincludes\class-dscf7-math-captcha-frontend.php:39
actioninitincludes\class-dscf7-math-captcha.php:64
Maintenance & Trust

DS CF7 Math Captcha Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 19, 2026
PHP min version7.4
Downloads71K

Community Trust

Rating100/100
Number of ratings8
Active installs30K
Developer Profile

DS CF7 Math Captcha Developer Profile

dotsquares

1 plugin · 30K total installs

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

How We Detect DS CF7 Math Captcha

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/ds-cf7-math-captcha/assets/css/admin-style.css/wp-content/plugins/ds-cf7-math-captcha/assets/js/script-min.js
Version Parameters
ds-cf7-math-captcha/assets/js/script-min.js?ver=

HTML / DOM Fingerprints

CSS Classes
notice-warning
JS Globals
ajax_object
Shortcode Output
[dscf7captcha]
FAQ

Frequently Asked Questions about DS CF7 Math Captcha