---
cve: "CVE-2024-10851"
severity: "MEDIUM"
cvss: 6.1
epss: "50%"
vendor: "razorpay"
kev: false
exploited: false
published: "2024-11-13 02:15:15"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T08:05:08+02:00"
---

# CVE-2024-10851

> 6.1 MEDIUM

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Gering | warn |
| A Verfügbarkeit | Keine | good |

## Referenzen

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/5c0e8e63-2603-4ee4-88f5-e132f9bc7fae?source=cve>
- <https://plugins.trac.wordpress.org/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-payment-buttons.php#L78>
- <https://plugins.trac.wordpress.org/browser/razorpay-payment-button/tags/2.4.6/includes/rzp-subscription-buttons.php#L78>
- <https://plugins.trac.wordpress.org/changeset/3186303/razorpay-payment-button/trunk/includes/rzp-payment-buttons.php?contextall=1>
- <https://plugins.trac.wordpress.org/changeset/3186303/razorpay-payment-button/trunk/includes/rzp-subscription-buttons.php?contextall=1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-10851) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
