Description
CubeCart is an ecommerce software solution. Prior to 6.7.5, admin/sources/products.index.inc.php reads the description, description_short, and spec_copy rich-text fields from $GLOBALS['RAW']['POST'] and removes only script elements before the values are stored and rendered through Smarty templates. An administrator with product-editing rights can store event-handler attributes, SVG content, or javascript: URIs that bypass this filter, causing persistent JavaScript execution when a storefront visitor or another administrator views the product content and enabling session exposure or unauthorized browser-context actions. This issue is fixed in version 6.7.5.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
cubecart v6
< 6.7.5affected
References
- https://github.com/cubecart/v6/security/advisories/GHSA-43f6-gfcf-wj9c ↗
- https://github.com/cubecart/v6/commit/bd2dcdcc7da55a3731fe288b54cac8bfa3d9142a ↗
- https://github.com/cubecart/v6/commit/f7abe7484691a33abcbc0806fca59d605024a75c ↗
- https://github.com/cubecart/v6/blob/6.7.5/admin/sources/release_notes/6.7.5.inc.php ↗
- https://github.com/cubecart/v6/releases/tag/6.7.5 ↗