CVE-2024-10851: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in razorpay Razorpay Payment Button Plugin
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.
AI Analysis
Technical Summary
CVE-2024-10851 is a reflected cross-site scripting vulnerability in the Razorpay Payment Button Plugin for WordPress. The issue is due to improper neutralization of input during web page generation, specifically the lack of appropriate escaping when using add_query_arg and remove_query_arg functions on URLs. This allows unauthenticated attackers to inject arbitrary web scripts that execute when a user interacts with a maliciously crafted link. The vulnerability affects all versions up to and including 2.4.6. The CVSS 3.1 base score is 6.1, reflecting a medium severity with network attack vector, low attack complexity, no privileges required, user interaction needed, and partial impact on confidentiality and integrity.
Potential Impact
Successful exploitation can lead to execution of arbitrary scripts in the context of the affected site, potentially allowing attackers to steal user information or perform actions on behalf of the user. The impact is limited to confidentiality and integrity with no availability impact. Since exploitation requires user interaction, the risk is moderated but still significant for users who may be tricked into clicking malicious links.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution with links related to the Razorpay Payment Button Plugin and consider disabling or restricting the plugin if possible. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2024-10851: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in razorpay Razorpay Payment Button Plugin
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-10851 is a reflected cross-site scripting vulnerability in the Razorpay Payment Button Plugin for WordPress. The issue is due to improper neutralization of input during web page generation, specifically the lack of appropriate escaping when using add_query_arg and remove_query_arg functions on URLs. This allows unauthenticated attackers to inject arbitrary web scripts that execute when a user interacts with a maliciously crafted link. The vulnerability affects all versions up to and including 2.4.6. The CVSS 3.1 base score is 6.1, reflecting a medium severity with network attack vector, low attack complexity, no privileges required, user interaction needed, and partial impact on confidentiality and integrity.
Potential Impact
Successful exploitation can lead to execution of arbitrary scripts in the context of the affected site, potentially allowing attackers to steal user information or perform actions on behalf of the user. The impact is limited to confidentiality and integrity with no availability impact. Since exploitation requires user interaction, the risk is moderated but still significant for users who may be tricked into clicking malicious links.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should exercise caution with links related to the Razorpay Payment Button Plugin and consider disabling or restricting the plugin if possible. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-11-05T12:07:22.984Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6dffb7ef31ef0b5927e6
Added to database: 2/25/2026, 9:47:43 PM
Last enriched: 4/9/2026, 12:06:06 PM
Last updated: 4/12/2026, 9:20:06 AM
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.