PT-2024-16590 · Razorpay · Razorpay Payment Button Plugin
Peter Thaleikis
·
Published
2024-11-12
·
Updated
2025-01-17
·
CVE-2024-10851
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Razorpay Payment Button Plugin versions prior to 2.4.6
Description
The Razorpay Payment Button Plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of
add query arg and remove query arg without appropriate escaping on the URL. 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.Recommendations
Update to the latest version to safeguard your site.
As a temporary workaround, consider restricting the use of the
add query arg and remove query arg functions until a patch is available.
Restrict access to pages that use these functions to minimize the risk of exploitation.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Razorpay Payment Button Plugin