CVE-2026-109224

SureCart <= 4.9.4 - Unauthenticated Stored Cross-Site Scripting via sc-cart-loader 'template' Attribute in Comment

Published Oct 16, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 14:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Surecart
Surecart surecart
Wordpress-extensions
Wordpress-extensions surecart
Vendors & Products Surecart
Surecart surecart
Wordpress-extensions
Wordpress-extensions surecart
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 16, 2026, 2:39 PM
Reserved
Oct 12, 2026, 1:46 PM
Status
Deferred
Published
Oct 16, 2026, 9:17 AM
Modified
Oct 16, 2026, 3:17 PM