# SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments <= 4.9.4 - Unauthenticated Stored Cross-Site Scripting via sc-icon Web Component

- **ID:** WPSEC-2026-0928
- **Plugin:** SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments (`surecart`), https://wordpress.org/plugins/surecart/
- **Affected versions:** all versions before 4.9.5
- **Fixed in:** 4.9.5 (Update to 4.9.5 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-14)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/surecart
- **Fix released:** 2026-10-12
- **Published:** 2026-10-14
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0928/

## Description

The SureCart plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the sc-icon web component's 'src' attribute in all versions up to, and including, 4.9.4. This is due to the plugin adding its sc-* web components and their attributes to every wp_kses context, including comments and user biographies, and to the sc-icon component inserting the SVG fetched from the 'src' URL into the page without sanitization. This makes it possible for unauthenticated attackers (via comments, once a comment is approved and shown on a page that loads SureCart components) and authenticated attackers with contributor-level access and above (via post content) to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-0928/
- https://plugins.svn.wordpress.org/surecart/tags/4.9.5/
- https://wordpress.org/plugins/surecart/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0928/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
