CVE-2024-10851 json
Razorpay Payment Button <= 2.4.6 - Reflected Cross-Site Scripting
published 2y ago modified 5mo ago also EUVD-2024-33330
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- razorpay razorpay_payment_button 2.4.7
Is CVE-2024-10851 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-20).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected products
- razorpay Razorpay Payment Button Plugin
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
wordfence.com
/threat-intel/vulnerabilities/id/5c0e8e63-2603-4ee4-88f5-e132f9bc7fae?source=cve
third-party-advisory
-
plugins.trac.wordpress.org
/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-payment-buttons.php#L78
product
-
plugins.trac.wordpress.org
/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-subscription-buttons.php#L78
product
- plugins.trac.wordpress.org /changeset/3186303/razorpay-payment-button/trunk/includes/rzp-payment-buttons.php?contextall=1
- plugins.trac.wordpress.org /changeset/3186303/razorpay-payment-button/trunk/includes/rzp-subscription-buttons.php?contextall=1
Sources
- CVE List CVE-2024-10851
- NVD CVE-2024-10851
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.