CVE-2021-42051 Cross-site scripting in n/a
Low-privileged users can upload malicious SVG files to execute cross-site scripting attacks in AbanteCart.
- 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
- Available
What is CVE-2021-42051?
CVE-2021-42051 is a medium-severity cross-site scripting vulnerability in n/a, published on 14 Dec 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in AbanteCart before 1.3.2. Any low-privileged user with file-upload permissions can upload a malicious SVG document that contains an XSS payload.
Weakness: CWE-79
Which versions are affected by CVE-2021-42051?
1 open source package ship an affected version, including abantecart. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
abantecart Bitnami | All versions | 1.3.2 |
Products include Abantecart Abantecart.
How do I fix CVE-2021-42051?
Upgrade abantecart to 1.3.2 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-2021-42051 being exploited?
There is no known exploitation of CVE-2021-42051 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as BIT-abantecart-2021-42051, GHSA-jf6w-775m-7xx9.