Accept Stripe Payments <= 2.1.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via btn_uniq_id Shortcode Attribute
- ID
- WPSEC-2026-3623
- Plugin
- Accept Stripe Payments (stripe-payments)
- Affected
- all versions before 2.1.5
- Remediation
- Update to 2.1.5 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-20
- Attack surface
- Accept Stripe Payments on WPSec AttackSurface
- Fix released
- Published
Description
The Accept Stripe Payments plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'btn_uniq_id' attribute of the accept_stripe_payment_ng shortcode in all versions up to, and including, 2.1.4. The attribute is added to the payment popup iframe URL without sanitization, and the front-end payment handler script concatenates that URL into HTML strings for the popup iframe and prefetch link without escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
References
- https://wpsec.com/vuln/WPSEC-2026-3623/
- https://plugins.svn.wordpress.org/stripe-payments/tags/2.1.5/
- https://wordpress.org/plugins/stripe-payments/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS