Intel

AIKIDO-2026-912024

solidus_core is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-x943-j5hw-mr2w Published 6 days ago

81

High Risk

This Affects:

RUBYsolidus_core
0.0.1 - 4.6.3
Fixed in 4.6.4
4.7.0 - 4.7.1
Fixed in 4.7.2
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.

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.

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.

How to fix this

Upgrade the solidus_core library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform