Intel

AIKIDO-2026-485491

solidus_frontend is vulnerable to Cross-Site Scripting (XSS)

GHSA-87gm-56c6-255gPublished Oct 9, 2026
October 9, 2026

81

CVE Score

High

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the solidus_frontend library to the patch version.

Who does this affect?

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

Versions

1.0.0 - 4.6.3

Fixed in 4.6.4

4.7.0 - 4.7.1

Fixed in 4.7.2

Background info

solidus_frontend is vulnerable to Cross-Site Scripting (XSS) in versions 1.0.0 - 4.6.3 and 4.7.0 - 4.7.1.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea