CVE-2021-47983

WordPress Plugin Stripe Payments < 2.0.40 Stored XSS via currency_code

Published Jun 8, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
WordPress Plugin Stripe Payments before 2.0.40 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts through the AcceptStripePayments-settings[currency_code] parameter. Attackers can submit POST requests to /wp-admin/options.php with script payloads in the currency_code field to execute arbitrary JavaScript in administrator browsers when settings are viewed.

Analysis

AI-generated

Technical impact

WordPress Plugin Stripe Payments before 2.0.40 contains a stored cross‑site scripting flaw that allows authenticated administrators to inject malicious scripts via the AcceptStripePayments‑settings[currency_code] parameter. Attackers can submit POST requests to /wp-admin/options.php containing script payloads in the currency_code field, causing arbitrary JavaScript execution whenever the settings page is viewed. This enables session hijacking, credential theft, or other malicious actions within the administrative context.

Affected Systems

The vulnerability affects the WordPress plugin Accept Stripe Payments, versions 2.0.39 and earlier. Administrators who have the plugin installed and are authenticated to the WordPress admin area are at risk, because the flaw is triggered only when the options page is accessed.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. The EPSS score is <1%, indicating a low probability of exploitation in the wild, yet the flaw remains active. The vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated administrators who can submit POST requests to /wp-admin/options.php. Once the payload is stored, any administrator who subsequently views the options page will have the malicious script executed in their browser. The exploit therefore requires privileged access but poses a significant risk to the integrity and confidentiality of administrative sessions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Stripe Payments plugin to the latest version that removes the stored XSS flaw.
  • Restrict access to the options page to only trusted administrators and consider disabling the currency_code field if it is unnecessary.
  • Validate or sanitize the currency_code input on the server side to prevent script injection before storing the value.

Generated by OpenCVE AI on August 27, 2026 at 17:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description WordPress Plugin Stripe Payments 2.0.39 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts through the AcceptStripePayments-settings[currency_code] parameter. Attackers can submit POST requests to /wp-admin/options.php with script payloads in the currency_code field to execute arbitrary JavaScript in administrator browsers when settings are viewed. WordPress Plugin Stripe Payments before 2.0.40 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts through the AcceptStripePayments-settings[currency_code] parameter. Attackers can submit POST requests to /wp-admin/options.php with script payloads in the currency_code field to execute arbitrary JavaScript in administrator browsers when settings are viewed.
Title WordPress Plugin Stripe Payments 2.0.39 Stored XSS via currency_code WordPress Plugin Stripe Payments < 2.0.40 Stored XSS via currency_code
Type Values Removed Values Added
First Time appeared Checkoutplugins
Checkoutplugins stripe Payments For Woocommerce
CPEs cpe:2.3:a:checkoutplugins:stripe_payments_for_woocommerce:2.0.39:*:*:*:*:wordpress:*:*
Vendors & Products Checkoutplugins
Checkoutplugins stripe Payments For Woocommerce
Type Values Removed Values Added
First Time appeared Mra13
Mra13 accept Stripe Payments
Wordpress
Wordpress wordpress
Vendors & Products Mra13
Mra13 accept Stripe Payments
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description WordPress Plugin Stripe Payments 2.0.39 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts through the AcceptStripePayments-settings[currency_code] parameter. Attackers can submit POST requests to /wp-admin/options.php with script payloads in the currency_code field to execute arbitrary JavaScript in administrator browsers when settings are viewed.
Title WordPress Plugin Stripe Payments 2.0.39 Stored XSS via currency_code
Weaknesses CWE-79
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 27, 2026, 3:03 PM
Reserved
Jun 7, 2026, 10:47 PM
Status
Deferred
Published
Jun 8, 2026, 2:16 AM
Modified
Aug 27, 2026, 5:16 PM