CVE-2020-13980 OpenCart Cross-site Scripting
Authenticated attackers can execute arbitrary scripts via crafted filenames in image uploads, potentially compromising admin sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-13980?
CVE-2020-13980 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jun 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
OpenCart 3.0.3.3 allows remote authenticated users to conduct XSS attacks via a crafted filename in the users' image upload section because of a lack of entity encoding. NOTE: this issue exists because of an incomplete fix for CVE-2020-10596. The vendor states "this is not a massive issue as you are still required to be logged into the admin.
Weakness: CWE-79
Which versions are affected by CVE-2020-13980?
2 open source packages ship an affected version, including opencart/opencart. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencart/opencart Packagist | All versions to 3.0.3.3 | None |
opencart/opencart Packagist | All versions to 3.0.3.3 | None |
Products include Opencart Opencart.
How do I fix CVE-2020-13980?
No fix has been published for CVE-2020-13980 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-13980 being exploited?
There is no known exploitation of CVE-2020-13980 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-p9qw-fh38-x37f.