---
id: "CVE-2026-107653"
kind: "vulnerability"
aliases: ["CVE-2026-107653"]
title: "SureCart WordPress plugin: unauthenticated stored XSS through comment parameter"
severity: "high"
cvss: 7.2
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ecommerce", "package", "self-hosted", "surecart", "wordpress"]
not_affected_if: ["comments-disabled", "newer-version", "plugin-not-installed"]
published_at: "2026-10-31T07:16:32+00:00"
first_seen_at: "2026-10-31T07:34:06+00:00"
updated_at: "2026-10-31T07:34:38+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-107653", "first_seen_at": "2026-10-31T07:34:06+00:00"}]
---

# SureCart WordPress plugin: unauthenticated stored XSS through comment parameter

The SureCart WordPress plugin up to and including 4.9.4 does not sanitize the comment parameter, so an unauthenticated visitor can store a script in a comment. When a logged-in or other visitor loads a page with a SureCart block and the comment is approved, that script runs in their browser.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed SureCart plugin version in the WordPress admin Plugins screen, or with `wp plugin get surecart --field=version`
- Look for comments containing script tags on pages that use SureCart blocks such as the Buy Button

## Fix

- SureCart plugin: upgrade to a version later than `4.9.4`; the exact fixed version is unknown from the sources

## Timeline

- 2026-10-31T07:34:06+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-107653

## From the sources

The SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.9.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful execution requires the injected comment to be visible on a page that loads SureCart's web-component bundle (e.g. a page containing a SureCart Buy Button block), and the comment must be auto-approved or approved by a moderator.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
