CVE-2021-20717 EC-CUBE Cross-site scripting vulnerability

Medium 6.1 Published Updated

Remote attackers can inject scripts into EC-CUBE input fields, leading to arbitrary script execution in administrators' browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-20717?

CVE-2021-20717 is a medium-severity cross-site scripting vulnerability in EC-CUBE, published on 10 May 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting vulnerability in EC-CUBE 4.0.0 to 4.0.5 allows a remote attacker to inject a specially crafted script in the specific input field of the EC web site which is created using EC-CUBE. As a result, it may lead to an arbitrary script execution on the administrator's web browser.

Weakness: CWE-79

Which versions are affected by CVE-2021-20717?

2 open source packages ship an affected version, including ec-cube/ec-cube. It affects 1 product.

PackageAffectedFixed in
ec-cube/ec-cube PackagistFrom 4.0.0 to 4.0.5None
ec-cube/ec-cube PackagistFrom 4.0.0 to 4.0.5None

Products include Ec-Cube Ec-Cube.

How do I fix CVE-2021-20717?

No fix has been published for CVE-2021-20717 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-20717 being exploited?

There is no known exploitation of CVE-2021-20717 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-c8mx-43cq-993w.

Is CVE-2021-20717 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free