Intel

AIKIDO-2026-912024

solidus_core is vulnerable to Cross-Site Scripting (XSS)

GHSA-x943-j5hw-mr2wPublished Oct 9, 2026
October 9, 2026

81

CVE Score

High

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

Spree::ProductsHelper#product_description wraps paragraphs in a product's description field and passes the result to raw, which outputs HTML without sanitization. Script elements or other active markup in a product description run in each storefront visitor's browser when the product page is displayed, leading to cross-site scripting. Rails' sanitize helper replaces raw so only permitted HTML tags and attributes remain.

How do I fix this?

Upgrade the solidus_core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your store accepts product descriptions from users who should not be able to run arbitrary HTML on the storefront.

Versions

0.0.1 - 4.6.3

Fixed in 4.6.4

4.7.0 - 4.7.1

Fixed in 4.7.2

Background info

solidus_core is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 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