CVE-2021-20842
PHP vulnerability analysis and mitigation

Overview

CVE-2021-20842 is a Cross-site Request Forgery (CSRF) vulnerability discovered in EC-CUBE 2 series versions 2.11.0 to 2.17.1. The vulnerability was disclosed on November 11, 2021, affecting the management screen of the EC-CUBE e-commerce platform (JVN Report).

Technical details

The vulnerability is classified as a Cross-site Request Forgery (CSRF) issue with a CVSS v3.0 Base Score of 6.5 (Medium severity). The attack vector is characterized as Network (AV:N), with Low attack complexity (AC:L), requiring No privileges (PR:N), and User interaction (UI:R). The scope is Unchanged (S:U), with High impact on integrity (I:H) but No impact on confidentiality and availability (JVN Report).

Impact

If exploited, the vulnerability allows an attacker to delete administrator accounts when a user with administrative privileges views a malicious page while logged into the system. This could potentially disrupt system administration capabilities (JVN Report).

Mitigation and workarounds

The vulnerability has been fixed in EC-CUBE version 2.17.2. Users are advised to update to this version or later. For those unable to update immediately, the developer has provided hotfix patches that can be applied to affected versions (JVN Report).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management