
PayHere Payment Gateway Security & Risk Analysis
wordpress.org/plugins/payhere-payment-gatewayPayHere Payment Gateway
Is PayHere Payment Gateway Safe to Use in 2026?
Generally Safe
Score 98/100PayHere Payment Gateway has a strong security track record. Known vulnerabilities have been patched promptly.
The PayHere Payment Gateway plugin, version 2.4.4, exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices in its handling of SQL queries, exclusively using prepared statements, and a high percentage of properly escaped output, which mitigates common injection and cross-site scripting vulnerabilities. The absence of dangerous functions and file operations is also a strength. However, significant concerns arise from the static analysis, particularly the presence of three AJAX handlers that lack any authentication checks. This creates a substantial attack surface that could be exploited by unauthenticated users to trigger potentially sensitive actions within the plugin. The complete absence of nonce and capability checks further exacerbates this risk, making these AJAX endpoints vulnerable to unauthorized access. While the plugin has a history of medium-severity vulnerabilities, specifically related to missing authorization and exposure of sensitive information, the fact that these are currently unpatched (indicated by the vulnerability history mentioning future dates for resolution, which is unusual and might represent simulated data) is a critical concern that requires immediate attention. Despite the good practices in SQL and output handling, the unprotected entry points and historical vulnerability patterns suggest a need for significant security improvements to ensure the plugin's robust protection.
Key Concerns
- Unprotected AJAX handlers
- Missing nonce checks
- Missing capability checks
- Medium severity CVEs (unpatched)
- Vulnerability type: Missing Authorization
- Vulnerability type: Exposure of Sensitive Information
PayHere Payment Gateway Security Vulnerabilities
CVEs by Year
Severity Breakdown
2 total CVEs
PayHere Payment Gateway Plugin for WooCommerce <= 2.3.9 - Missing Authorization to Unauthenticated Order Status Modification
PayHere Payment Gateway <= 2.2.11 - Information Disclosure via Log Files
PayHere Payment Gateway Code Analysis
SQL Query Safety
Output Escaping
PayHere Payment Gateway Attack Surface
AJAX Handlers 3
WordPress Hooks 29
Maintenance & Trust
PayHere Payment Gateway Maintenance & Trust
Maintenance Signals
Community Trust
PayHere Payment Gateway Alternatives
PayHere Payment Gateway – Beta
payhere-payment-gateway-beta
PayHere Payment Gateway Plugin for WooCommerce
Mintpay
mintpay
Mintpay, Sri Lanka's first buy now, pay later platform offers 0% interest and no hidden fees.
Pics Payment Gateway
pics-payment-gateway
Pics Payment Gateway Plugin for WooCommerce
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
surecart
Make ecommerce easy with a simple to use, all-in-one platform, that anyone can set up in just a few minutes!
Paysera Payment Gateway for WooCommerce
woo-payment-gateway-paysera
Paysera payments + delivery
PayHere Payment Gateway Developer Profile
2 plugins · 2K total installs
How We Detect PayHere Payment Gateway
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/payhere-payment-gateway/public/css/payhere-payment-gateway-public.css/wp-content/plugins/payhere-payment-gateway/public/js/payhere-payment-gateway-public.js/wp-content/plugins/payhere-payment-gateway/public/js/payhere-payment-gateway-public.jspayhere-payment-gateway/public/css/payhere-payment-gateway-public.css?ver=payhere-payment-gateway/public/js/payhere-payment-gateway-public.js?ver=HTML / DOM Fingerprints
image-selection-wrapperadd-mediaremove-mediaid="image-selection-wrapper"name="woocommerce_payhere_gateway[logo_url]"id="woocommerce_payhere_gateway[logo_url]"window.wp.mediawindow.send_to_editor