CamPay Give Donation Payment Gateway Security & Risk Analysis

wordpress.org/plugins/campay-give

CamPay is a Fintech service of the company TAKWID

10 active installs v1.0 PHP 7.0+ WP 5.0+ Updated Dec 13, 2023
mobile-moneymtn-moneyorange-moneypaymentswp-give
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is CamPay Give Donation Payment Gateway Safe to Use in 2026?

Generally Safe

Score 85/100

CamPay Give Donation Payment Gateway has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The "campay-give" v1.0 plugin exhibits a generally strong security posture based on the provided static analysis. The complete absence of shortcodes, cron events, and especially unprotected AJAX handlers or REST API routes, significantly limits its potential attack surface. Furthermore, the code demonstrates excellent practices regarding SQL queries (100% prepared statements) and output escaping (100% properly escaped), which are critical for preventing common web vulnerabilities. The lack of any recorded vulnerabilities in its history is a positive indicator of its stability. However, a single "dangerous function" (assert) is flagged, which, while often used for debugging and potentially harmless in production, still represents a coding practice that could introduce risks if not managed carefully.

The taint analysis reporting zero flows with unsanitized paths is encouraging. The presence of external HTTP requests, while not inherently a vulnerability, warrants attention as these could potentially be vectors for supply chain attacks or information disclosure if not handled securely on the server-side. The single nonce check is a minor point of concern, as a more comprehensive approach to nonce validation across all entry points would further strengthen security. Conversely, the absence of capability checks is not necessarily a weakness if the plugin's functionality is not sensitive or is intended to be universally accessible within WordPress.

In conclusion, "campay-give" v1.0 appears to be a relatively secure plugin with strong foundations in data handling and output sanitization. The absence of a history of vulnerabilities and a minimal attack surface are significant strengths. The primary areas for potential improvement are the careful review and potential removal of the "assert" function in production environments and ensuring all external HTTP requests are made with security best practices in mind. The single nonce check could also be a point for hardening.

Key Concerns

  • Dangerous function detected (assert)
  • External HTTP requests present
  • Only one nonce check found
Vulnerabilities
None known

CamPay Give Donation Payment Gateway Security Vulnerabilities

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

CamPay Give Donation Payment Gateway Code Analysis

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

Dangerous Functions Found

assertassert(strlen($data) == 16);campay-give.php:316

Output Escaping

100% escaped5 total outputs
Attack Surface

CamPay Give Donation Payment Gateway Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actiongivewp_register_payment_gatewaycampay-give-main.php:28
actionwp_enqueue_scriptscampay-give-main.php:32
filtergive_get_sections_gatewaysincludes\campay-givewp-settings.php:74
filtergive_get_groups_campay-settingsincludes\campay-givewp-settings.php:75
filtergive_get_settings_gatewaysincludes\campay-givewp-settings.php:76
Maintenance & Trust

CamPay Give Donation Payment Gateway Maintenance & Trust

Maintenance Signals

WordPress version tested6.3.8
Last updatedDec 13, 2023
PHP min version7.0
Downloads66K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

CamPay Give Donation Payment Gateway Developer Profile

campay

3 plugins · 220 total installs

91
trust score
Avg Security Score
95/100
Avg Patch Time
9 days
View full developer profile
Detection Fingerprints

How We Detect CamPay Give Donation Payment Gateway

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/campay-give/assets/css/campay.css/wp-content/plugins/campay-give/assets/js/campay.js
Script Paths
/wp-content/plugins/campay-give/assets/js/campay.js
Version Parameters
campay-give/assets/css/campay.css?ver=campay-give/assets/js/campay.js?ver=

HTML / DOM Fingerprints

CSS Classes
form-groupcampay-number-error
HTML Comments
Documentation on Campay REST API Campay Give plugin uses CamPay REST API present on campay.net to process payments. Full documentation about the API is present here : https://documenter.getpostman.com/view/2391374/T1LV8PVA the get_token function calls the /token/ endpoint of campay REST API to authenticate the user using the API. the execute_payment function calls the /collect/ endpoint of campay REST API to prompt the website user to confirm his donation by inserting secret code on his phone. the check_payment function calls the /transaction/ endpoint of campay REST API to check the status of the transaction initiated by execute_payment. Please visit https://documenter.getpostman.com/view/2391374/T1LV8PVA for more information and contact info@campay.net for any question. /** END DOCUMENTATIION **/Step 1: add any gateway fields to the form using html. In order to retrieve this data later the name of the input must be inside the key gatewayData (name='gatewayData[input_name]').Step 2: you can alternatively send this data to the $gatewayData param using the filter `givewp_create_payment_gateway_data_{gatewayId}`.Step 1: Validate any data passed from the gateway fields in $gatewayData. Throw the PaymentGatewayException if the data is invalid.+2 more
Data Attributes
gatewayData[campay_transaction_number]campay_transaction_numberphone_number_campaycampay-number-errorcampay_transaction_numbervalidate_number(this)
FAQ

Frequently Asked Questions about CamPay Give Donation Payment Gateway