Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-10851: The Razorpay Payment Button Plugin plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to

33
Routine
MEDIUM 6.1UPGRADE

CVE-2024-10851 is a medium-severity flaw (CVSS 6.1) affecting razorpay payment button. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.5% (top 55%)
CISA exploited listNo
WeaknessCWE-79
Published2024-11-13
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: razorpay

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

razorpay razorpay payment button UPGRADE
Affected: < 2.4.7
Fixed in: 2.4.7
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy razorpay-payment-button || rpm -q razorpay-payment-button || razorpay-payment-button --version
2. UPGRADE to 2.4.7 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade razorpay-payment-button
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade razorpay-payment-button
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-10851?

razorpay payment button: upgrade to 2.4.7. Exact commands for each OS are on this page.

Is CVE-2024-10851 being exploited?

CVE-2024-10851 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-10851 affect?

CVE-2024-10851 affects razorpay payment button. Severity is medium (CVSS 6.1). 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.

How urgent is CVE-2024-10851?

Priority 33/100. No elevated risk signals yet.

Software pages

WordPress vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.