Description
The Express Payment For Stripe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' attribute of the [stripe-express] shortcode in versions up to, and including, 1.28.0. This is due to insufficient input sanitization and output escaping on the shortcode attribute value, which is concatenated into an HTML attribute in the rendered output of the register_shortcode() function without being passed through esc_attr() or any other escaping function. 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.
Published: 2026-06-05
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Express Payment For Stripe plugin allows an authenticated contributor or higher to store malicious scripts through the 'type' attribute of the [stripe-express] shortcode. Input sanitization is omitted, and the value is inserted directly into an HTML attribute, resulting in a stored XSS flaw classified as CWE‑79. An attacker can cause any visitor to the compromised page to execute arbitrary JavaScript, potentially leading to session hijacking, defacement, or theft of sensitive data.

Affected Systems

WordPress sites running the Express Payment For Stripe plugin from payaddons. Versions up to and including 1.28.0 are vulnerable. Any installation of 1.28.0 or earlier that contains the shortcode with an unescaped 'type' attribute is impacted.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. Because the flaw exposes stored XSS only to authenticated users with contributor permissions, the attack requires legitimate credentials but can affect all visitors who view the page. No EPSS data is available, and the flaw is not listed in CISA’s KEV catalog. The exploit path is straightforward: an authenticated contributor modifies a shortcode value, and the malicious script is stored in the database and runs for all subsequent page views.

Generated by OpenCVE AI on June 6, 2026 at 01:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Express Payment For Stripe plugin to the latest version (greater than 1.28.0) to apply the vendor’s fix.
  • Remove or edit any [stripe-express] shortcodes that use the ‘type’ attribute until the plugin is updated or no longer needed.
  • If the plugin cannot be updated immediately, disable it to prevent further stored XSS from occurring.

Generated by OpenCVE AI on June 6, 2026 at 01:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 06 Jun 2026 00:00:00 +0000

Type Values Removed Values Added
Description The Express Payment For Stripe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' attribute of the [stripe-express] shortcode in versions up to, and including, 1.28.0. This is due to insufficient input sanitization and output escaping on the shortcode attribute value, which is concatenated into an HTML attribute in the rendered output of the register_shortcode() function without being passed through esc_attr() or any other escaping function. 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.
Title Express Payment For Stripe <= 1.28.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-06-05T23:28:24.306Z

Reserved: 2026-05-18T20:52:11.649Z

Link: CVE-2026-8893

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-06T00:16:41.887

Modified: 2026-06-06T00:16:41.887

Link: CVE-2026-8893

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-06T01:30:06Z

Weaknesses