solidus_core is vulnerable to Cross-Site Scripting (XSS)
81
CVE Score
High
Cross-Site Scripting (XSS)
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.
Upgrade the solidus_core library to the patch version.
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.
0.0.1 - 4.6.3
Fixed in 4.6.44.7.0 - 4.7.1
Fixed in 4.7.2solidus_core is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 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.