Description
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 affected comment to appear on a post that loads the surecart-components runtime (e.g. via a [sc_buy_button] shortcode) and contains no sc-checkout element, as these conditions trigger the innerHTML sink in sc-cart-loader.
Published: 2026-10-16
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthenticated Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The SureCart plugin for WordPress contains an insufficient input sanitization bug that allows an attacker to store a malicious script in a comment. The script is later injected into the page through the sc-cart-loader, which renders the comment content as innerHTML on a page that includes a [sc_buy_button] shortcode but does not contain a sc‑checkout element. A victim who views that page would have the attacker’s script executed in their browser, potentially enabling cookie theft, session hijacking, defacement, or other client‑side attacks. The impact is limited to how the script is used by the attacker, but because the vulnerability does not require authentication, any user who can post a comment on a suitable page can cause the malicious payload to execute.

Affected Systems

All installations of the SureCart "Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments" plugin for WordPress up to and including version 4.9.4 are affected. The flaw resides in the handling of the comment parameter in the BlockServiceProvider component. No other products or vendors are listed as impacted.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity and the overall risk is elevated because the attacker only needs to create or modify a comment on a page that loads the surecart-components runtime; no authentication is required. The EPSS score is not available, and the vulnerability is not currently listed in the CISA KEV catalog, but the lack of an availability gap and the broad exposure of the comment system mean that exploitation is straightforward. An attacker could exploit this vulnerability by creating a comment containing a script that maliciously manipulates the DOM or steals credentials whenever an end‑user loads the vulnerable page.

Generated by OpenCVE AI on October 16, 2026 at 12:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest SureCart release (≥ 4.9.5) where the comment sanitization bug is fixed.
  • If upgrading is not immediately possible, disable or block comments on all pages that include the relevant shortcodes, or apply a custom filter that strips all script tags from comment content before it is rendered.
  • Implement a strict Content Security Policy that disallows inline scripts and blocks script execution from unknown origins to reduce the impact of any XSS payload that may slip through.

Generated by OpenCVE AI on October 16, 2026 at 12:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 08:45:00 +0000

Type Values Removed Values Added
Description 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 affected comment to appear on a post that loads the surecart-components runtime (e.g. via a [sc_buy_button] shortcode) and contains no sc-checkout element, as these conditions trigger the innerHTML sink in sc-cart-loader.
Title SureCart <= 4.9.4 - Unauthenticated Stored Cross-Site Scripting via sc-cart-loader 'template' Attribute in Comment
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T08:27:42.175Z

Reserved: 2026-10-12T13:46:11.387Z

Link: CVE-2026-109224

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-16T09:17:04.113

Modified: 2026-10-16T09:17:04.113

Link: CVE-2026-109224

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T13:23:11Z

Weaknesses
  • CWE-79

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