Intel

AIKIDO-2026-11133

spree_storefront is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

64

Medium Risk

This Affects:

RUBYspree_storefront
5.4.0 - 5.4.1
Fixed in 5.4.3
Are you affected? Scan for Free

TL;DR

The default spree_storefront theme renders product.storefront_description through the raw helper in product description and details templates. An attacker who can edit product HTML through the admin editor source view or the API can inject <script> tags or event handlers into descriptions. The injected markup executes in the browser of every visitor who views the affected product page. The fix replaces raw with sanitize, stripping dangerous tags while preserving safe formatting HTML.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

spree_storefront is vulnerable to Cross-Site Scripting (XSS) in versions 5.4.0 - 5.4.1.

How to fix this

Upgrade the spree_storefront library to the patch version.