CVE-2024-10851: Razorpay Payment Button Plugin · Cross-site Scripting
Affects Razorpay Payment Button PluginSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| razorpay Razorpay Payment Button Plugin | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, users should exercise caution with links related to the Razorpay Payment Button Plugin and consider disabling or restricting the plugin if possible. Monitor vendor channels for updates and apply patches promptly once released.
Description
The Razorpay Payment Button Plugin plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg & remove_query_arg without appropriate escaping on the URL in all versions up to, and including, 2.4.6. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
References
- wordfence.com/threat-intel/vulnerabilities/id/5c0e8e63-2603-4ee4-88f5-e132f9bc7fae?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-payment-buttons.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-subscription-buttons.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3186303/razorpay-payment-button/trunk/includes/rzp-payment-buttons.php?contextall=1 (opens in a new tab)
- plugins.trac.wordpress.org/changeset/3186303/razorpay-payment-button/trunk/includes/rzp-subscription-buttons.php?contextall=1 (opens in a new tab)