CVE-2026-94179

WordPress Razorpay Payment Button plugin <= 2.4.9 - Cross Site Scripting (XSS) vulnerability

Published Sep 23, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Unauthenticated Cross Site Scripting (XSS) in Razorpay Payment Button <= 2.4.9 versions.

Analysis

AI-generated

Technical impact

The Razorpay Payment Button plugin for WordPress contains an unauthenticated XSS flaw in all releases up to and including version 2.4.9. This weakness, identified as CWE‑79, permits the injection of script code into pages rendered by the plugin. An attacker who supplies malicious input can execute scripts in the context of a visitor’s browser, potentially leading to session hijacking, cookie theft, defacement or other downstream attacks. The CVSS score of 7.1 signals a moderate to high severity impact for affected installations.

Affected Systems

The flaw affects the Razorpay Payment Button plugin from Razorpay, used on WordPress sites. Versions up to and including 2.4.9 are vulnerable; upgrading to version 2.5.0 or newer mitigates the issue.

Risk and Exploitability

The XSS vulnerability is exploitable by any person who can craft a request to the plugin, with no authentication or special privileges required. Because it is unauthenticated and active on public‑facing sites, an attacker can target visitors simply by directing them to a vulnerable page. The EPSS score is not available, and the flaw is not listed in the CISA KEV catalog. However, the CVSS score of 7.1 and the straightforward exploitation path mean that the risk remains medium–high for sites that have not applied the available patch.

Remediation

Vendor Solution

Update the WordPress Razorpay Payment Button plugin to the latest available version (at least 2.5.0).


OpenCVE Recommended Actions

  • Update the Razorpay Payment Button plugin to version 2.5.0 or later to remove the vulnerable code.
  • Verify that any custom or legacy code which outputs data references to the Razorpay plugin performs proper escaping or sanitization, following WordPress security guidelines for preventing XSS.
  • Audit the site for other plugins or custom code that may introduce similar XSS weaknesses and ensure they are kept up to date or properly sanitized.

Generated by OpenCVE AI on September 23, 2026 at 20:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Razorpay
Razorpay razorpay Payment Button
Wordpress
Wordpress wordpress
Vendors & Products Razorpay
Razorpay razorpay Payment Button
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Unauthenticated Cross Site Scripting (XSS) in Razorpay Payment Button <= 2.4.9 versions.
Title WordPress Razorpay Payment Button plugin <= 2.4.9 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Sep 23, 2026, 7:25 PM
Reserved
Sep 21, 2026, 12:20 AM
Status
Deferred
Published
Sep 23, 2026, 7:19 PM
Modified
Sep 23, 2026, 8:17 PM