Live threats

All CVEs / Ec-cube

CVE-2021-20751Ec-cube

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
Jun 28, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Cross-site scripting vulnerability in EC-CUBE EC-CUBE 4.0.0 to 4.0.5-p1 (EC-CUBE 4 series) allows a remote attacker to inject an arbitrary script by leading an administrator or a user to a specially crafted page and to perform a specific operation.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ec-cube.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist ec-cube/ec-cube ≥ 4.0.0 < 4.0.6 4.0.6 composer require "ec-cube/ec-cube:^4.0.6"

Per OSV / GitHub Advisories (GHSA-r6qq-qc9m-98w2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ec-cubeec-cube≥ 4.0.0 < 4.0.5
ec-cubeec-cube4.0.5.

Official sources

References

Links published by the sources. Open them with care.