CVE-2020-10596 Cross-site Scripting in OpenCart

Medium 5.4 Published Updated

Authenticated attackers can execute arbitrary scripts via crafted filenames in image uploads, potentially compromising user sessions.

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

What is CVE-2020-10596?

CVE-2020-10596 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Mar 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

OpenCart 3.0.3.2 allows remote authenticated users to conduct XSS attacks via a crafted filename in the users' image upload section.

Weakness: CWE-79

Which versions are affected by CVE-2020-10596?

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

PackageAffectedFixed in
opencart/opencart PackagistAll versions to 3.0.3.2None
opencart/opencart PackagistAll versions to 3.0.3.2None

Products include Opencart Opencart.

How do I fix CVE-2020-10596?

No fix has been published for CVE-2020-10596 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-2020-10596 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-36fm-v9wv-56jf.

Is CVE-2020-10596 in your software?

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

Check your SBOMs for free