CVE-2020-29471 OpenCart Stored Cross-Site Scripting
An admin can upload a malicious profile image containing JavaScript, triggering XSS when viewed by other users.
- 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-29471?
CVE-2020-29471 is a medium-severity cross-site scripting vulnerability in n/a, published on 29 Dec 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.6 is affected by cross-site scripting (XSS) in the Profile Image. An admin can upload a profile image as a malicious code using JavaScript. Whenever anyone will see the profile picture, the code will execute and XSS will trigger.
Weakness: CWE-79
Which versions are affected by CVE-2020-29471?
2 open source packages ship an affected version, including opencart/opencart. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencart/opencart Packagist | All versions | None |
opencart/opencart Packagist | All versions | None |
Products include Opencart Opencart.
How do I fix CVE-2020-29471?
No fix has been published for CVE-2020-29471 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-29471 being exploited?
There is no known exploitation of CVE-2020-29471 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7vrp-3pff-c3j4.