solidus_frontend is vulnerable to Cross-Site Scripting (XSS)
81
CVE Score
High
Cross-Site Scripting (XSS)
Spree::OrdersHelper#truncated_product_description passes Spree::Product#description through raw before truncating it, so HTML stored in a product description, such as an onerror image tag or a script tag, reaches the checkout confirmation step and the order page unescaped. truncate_html only shortens the text and passes the markup through unchanged, so the markup executes in the browser of any customer who views an order containing that product, including guests following a tokenized order link. Planting the payload needs product management or superuser access in the back office, but the script then runs in the viewing customer's session and can issue same origin requests such as changing the account email. The fix sanitizes the description with the Rails allowlist sanitizer before truncation, unless a store has opted into Spree::Config.show_raw_product_description.
Upgrade the solidus_frontend library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
1.0.0 - 4.6.3
Fixed in 4.6.44.7.0 - 4.7.1
Fixed in 4.7.2solidus_frontend is vulnerable to Cross-Site Scripting (XSS) in versions 1.0.0 - 4.6.3 and 4.7.0 - 4.7.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.