Vulnerabilities / SureCart / WPSEC-2026-1398

SureCart <= 4.9.6 - Authenticated (Author+) Stored Cross-Site Scripting via Block Icon Name

Medium 6.4 CWE-79Fixed in 4.10.0
ID
WPSEC-2026-1398
Plugin
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments (surecart)
Affected
all versions before 4.10.0
Remediation
Update to 4.10.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-21
Attack surface
SureCart on WPSec AttackSurface
Fix released
Published

Description

The SureCart plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the icon name block attribute in all versions up to, and including, 4.9.6. This is due to the block editor's icon component building a fetch path from the unvalidated icon name and injecting the fetched document's markup into the page, and the server-side SVG loader likewise concatenating the name into a file path. This makes it possible for authenticated attackers with author-level access and above, who can upload a text file containing markup, to point a block's icon at that file and inject arbitrary web scripts that execute when another user, such as an administrator, opens the post in the block editor.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0