# CVE-2021-47983: WordPress Stripe Payments stored XSS in currency_code parameter

Source: https://junglewise.ai/threats/cve-2021-47983-wordpress-stripe-payments-stored-xss-in-currency-code-parameter  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-08. Updated: 2026-06-08  
License: CC BY 4.0 with a link back

CVE-2021-47983 · Severity: medium · CVSS 6.4 · Published 2026-06-08

The Accept Stripe Payments plugin for WordPress, which allows websites to process credit card transactions, contains a security flaw. An authenticated attacker can inject malicious scripts into the plugin's settings. If an administrator views these settings, the script will execute in their browser, potentially allowing the attacker to perform unauthorized actions or compromise the site's management interface.

Vendors: [Tips and Tricks HQ](https://junglewise.ai/threats/vendors/tips-and-tricks-hq).

## Quick answers

**Is CVE-2021-47983 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-47983 being exploited in the wild.

**How severe is CVE-2021-47983?** Medium severity, with a CVSS score of 6.4, published 8 June 2026.

**Which products and versions are affected?** Tips and Tricks HQ Accept Stripe Payments 2.0.39 and earlier.

**Is there a fix for CVE-2021-47983?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2021-47983 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2021-47983?** Check whether you run Tips and Tricks HQ Accept Stripe Payments at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in the WordPress Stripe Payments plugin version 2.0.39 and below. The flaw is located in the 'currency_code' parameter within the 'AcceptStripePayments-settings' group. An authenticated attacker with sufficient privileges to modify plugin options can submit a crafted POST request to /wp-admin/options.php containing a malicious JavaScript payload. Because the input is not properly sanitized before being stored and subsequently rendered in the administrative settings page, the script executes in the context of any administrator who views the plugin's configuration. This can lead to session hijacking or unauthorized administrative actions.

## Affected products

- Tips and Tricks HQ (mra13) Accept Stripe Payments 2.0.39 and earlier

## Timeline

- 2021-01-04: disclosed: Initial discovery and exploit publication by Park Won Seok.
- 2026-06-08: advisory: CVE published/updated in NVD.

## References

- [https://wordpress.org/plugins/stripe-payments/](https://wordpress.org/plugins/stripe-payments/)
- [https://www.exploit-db.com/exploits/49354](https://www.exploit-db.com/exploits/49354)
- [https://www.vulncheck.com/advisories/wordpress-plugin-stripe-payments-stored-xss-via-currency-code](https://www.vulncheck.com/advisories/wordpress-plugin-stripe-payments-stored-xss-via-currency-code)
