CVE-2020-29470 OpenCart Cross-site Scripting (XSS) in the Subject field of mail.

Medium 4.8 Published Updated

Attackers can inject scripts into email subject fields to steal user cookies when emails are viewed, compromising user accounts.

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-29470?

CVE-2020-29470 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 Subject field of mail. This vulnerability can allow an attacker to inject the XSS payload in the Subject field of the mail and each time any user will open that mail of the website, the XSS triggers and the attacker can able to steal the cookie according to the crafted payload.

Weakness: CWE-79

Which versions are affected by CVE-2020-29470?

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

PackageAffectedFixed in
opencart/opencart PackagistAll versionsNone
opencart/opencart PackagistAll versionsNone

Products include Opencart Opencart.

How do I fix CVE-2020-29470?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-87cv-57p8-j33x.

Is CVE-2020-29470 in your software?

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

Check your SBOMs for free