CVE-2024-10851
MEDIUM
6.1
CVSS 3.1
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.
Affected WordPress components
-
Razorpay Payment Button Plugin Plugin · razorpay-payment-buttonUp to and including 2.4.6View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- razorpay Razorpay Payment Button Plugin — Up to and including 2.4.6
- razorpay razorpay_payment_button — Before 2.4.7
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-payment-buttons.php#L78 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-subscription-buttons.php#L78 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3186303/razorpay-payment-button/trunk/includes/rzp-payment-buttons.php?contextall=1
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3186303/razorpay-payment-button/trunk/includes/rzp-subscription-buttons.php?contextall=1
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/5c0e8e63-2603-4ee4-88f5-e132f9bc7fae?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record