CVE-2020-6578 Reflected XSS in Zen Cart before 1.5.7a

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via reflected XSS in Zen Cart, potentially leading to session hijacking or data theft.

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
Available

What is CVE-2020-6578?

CVE-2020-6578 is a medium-severity cross-site scripting vulnerability in n/a, published on 19 Mar 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

Zen Cart 1.5.6d allows reflected XSS via the main_page parameter to includes/templates/template_default/common/tpl_main_page.php or includes/templates/responsive_classic/common/tpl_main_page.php.

Weakness: CWE-79

Which versions are affected by CVE-2020-6578?

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

PackageAffectedFixed in
zencart/zencart PackagistAll versions1.5.7a
zencart/zencart PackagistAll versions1.5.7a

Products include Zen-Cart Zen Cart.

How do I fix CVE-2020-6578?

Upgrade zencart/zencart to 1.5.7a or later.

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-2020-6578 being exploited?

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

Sources

Also known as GHSA-wxxx-2x6v-979f.

Is CVE-2020-6578 in your software?

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

Check your SBOMs for free