Razorpay Subscription Button Plugin Security & Risk Analysis

wordpress.org/plugins/razorpay-subscription-button

A very simple block native to the wordpress that lets you add a convenient button on your wordpress page. This block is like any other wordpress plugi …

10 active installs v1.0.4 PHP + WP + Updated Mar 25, 2025
ecommerceindiapaymentsrazorpay
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Razorpay Subscription Button Plugin Safe to Use in 2026?

Generally Safe

Score 92/100

Razorpay Subscription Button Plugin has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The static analysis of the 'razorpay-subscription-button' plugin v1.0.4 reveals a strong adherence to secure coding practices in several key areas. The absence of any detected dangerous functions, raw SQL queries, file operations, or external HTTP requests is commendable. Furthermore, the plugin does not appear to expose a significant attack surface, with zero AJAX handlers, REST API routes, shortcodes, or cron events identified. The vulnerability history also indicates a clean record, with no known CVEs, which suggests a history of proactive security maintenance.

However, a significant concern arises from the taint analysis, where all four analyzed flows were found to have unsanitized paths. While no critical or high severity issues were reported from these flows, the presence of unsanitized paths at all is a notable weakness. Additionally, the output escaping is only 63% properly escaped, meaning a portion of the plugin's output could potentially be vulnerable to cross-site scripting (XSS) attacks if user-controlled data is involved. The lack of nonce checks and capability checks on any entry points, though there are none, means that if any were to be introduced in future versions without proper checks, they would be immediately vulnerable. These factors, despite the otherwise positive indicators, present potential risks that warrant attention.

In conclusion, while the plugin exhibits excellent foundational security by avoiding dangerous functions and raw SQL, and maintains a clean vulnerability history, the taint analysis findings and incomplete output escaping are definite areas of concern. The complete absence of capability and nonce checks on entry points, while currently not an issue due to the lack of entry points, represents a potential future vulnerability if the plugin's architecture changes. Overall, the plugin has strong security fundamentals but requires attention to its input sanitization and output escaping to mitigate potential risks.

Key Concerns

  • Unsanitized paths in taint flows
  • Low percentage of properly escaped output
Vulnerabilities
None known

Razorpay Subscription Button Plugin Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Razorpay Subscription Button Plugin Release Timeline

v1.0.4Current
v1.0.3
v1.0.2
v1.0.1
v1.0
Code Analysis
Analyzed Mar 16, 2026

Razorpay Subscription Button Plugin Code Analysis

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

Output Escaping

63% escaped24 total outputs
Data Flows · Security
4 unsanitized

Data Flow Analysis

4 flows4 with unsanitized paths
process (includes\rzp-btn-action.php:21)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Razorpay Subscription Button Plugin Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_initincludes\rzp-btn-settings.php:10
actionadmin_enqueue_scriptsrazorpay-subscription-buttons.php:21
actionadmin_post_rzp_sub_btn_actionrazorpay-subscription-buttons.php:22
actionadmin_menurazorpay-subscription-buttons.php:65
actionenqueue_block_editor_assetsrazorpay-subscription-buttons.php:66
Maintenance & Trust

Razorpay Subscription Button Plugin Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMar 25, 2025
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Razorpay Subscription Button Plugin Developer Profile

Razorpay

10 plugins · 107K total installs

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

How We Detect Razorpay Subscription Button Plugin

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/razorpay-subscription-button/public/css/sub_button.css/wp-content/plugins/razorpay-subscription-button/public/css/bootstrap.min.css/wp-content/plugins/razorpay-subscription-button/public/js/blocks.js
Script Paths
/wp-content/plugins/razorpay-subscription-button/public/js/blocks.js

HTML / DOM Fingerprints

CSS Classes
rzp-btn-viewrzp-settingsrzp-input-grouprzp-input-fieldrzp-text-inputrzp-btn-textrzp-labelrzp-error-msg+1 more
Data Attributes
data-razorpay-button-iddata-razorpay-button-titledata-razorpay-button-description
JS Globals
razorpaybutton
FAQ

Frequently Asked Questions about Razorpay Subscription Button Plugin