Live threats

All CVEs / Ec-cube

CVE-2021-20842Ec-cube

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.6%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Nov 24, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

Cross-site request forgery (CSRF) vulnerability in EC-CUBE 2 series 2.11.0 to 2.17.1 allows a remote attacker to hijack the authentication of Administrator and delete Administrator via a specially crafted web page.

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 ≥ 2.11.0 < 2.17.2 2.17.2 composer require "ec-cube/ec-cube:^2.17.2"

Per OSV / GitHub Advisories (GHSA-m9hv-qmqh-33qh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ec-cubeec-cube≥ 2.11.0 ≤ 2.17.1

Official sources

References

Links published by the sources. Open them with care.