EC-CUBE XSS Vulnerabilities in ec-cube/ec-cube

ec-cube/ec-cube Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
Not published

CVE-2011-0451: EC-CUBE XSS Vulnerabilities. Affects ec-cube/ec-cube versions < 2.4.4. Fixed in 2.4.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

EC-CUBE is an open-source e-commerce platform written in PHP. It provides various features for online stores, including product management, order processing, and customer management. The package ec-cube/ec-cube is a Composer package that contains the core files and templates of EC-CUBE. It is widely used by developers to build e-commerce websites.

Vulnerability Detail

The EC-CUBE package before version 2.4.4 is affected by multiple cross-site scripting (XSS) vulnerabilities. These vulnerabilities exist in the 'list.tpl' and 'cart_tag.tpl' templates, allowing remote attackers to inject arbitrary web scripts or HTML. The exact vectors of exploitation are unspecified.

How To Fix

Minimum fixed version

2.4.4

This is the first release that contains the fix.

composer require ec-cube/ec-cube:2.4.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for these vulnerabilities. However, as a general best practice, developers can implement input validation and output encoding to mitigate the risk of XSS attacks. This can be done by using appropriate functions or libraries provided by the programming language or framework being used.

Conclusion

The EC-CUBE package has been found to have multiple XSS vulnerabilities in the 'list.tpl' and 'cart_tag.tpl' templates. These vulnerabilities can be mitigated by updating the package to version 2.4.4 or later. It is important to promptly address these vulnerabilities to ensure the security of your e-commerce website. For further assistance, contact DevNack.com.

See every vulnerability recorded for ec-cube/ec-cube →

Share this vulnerability

FAQ

EC-CUBE is an open-source e-commerce platform used for building online stores.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

The XSS vulnerabilities in EC-CUBE can allow attackers to execute arbitrary scripts or HTML code in the context of a user's browser. This can lead to various attacks, such as stealing sensitive information, session hijacking, or defacement of the website.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your composer.lock file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

For further support on vulnerability remediation and securing your EC-CUBE installation, you can reach out to info@devnack.com. They have expertise in e-commerce security and can assist you in addressing the vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for ec-cube/ec-cube.

How To Fix

Minimum fixed version

2.4.4

This is the first release that contains the fix.

composer require ec-cube/ec-cube:2.4.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback