CVE-2021-32573 Cross-site Scripting in express-cart

Medium 4.8 Published Updated

Reflected XSS in express-cart allows an admin to inject scripts via product options, potentially compromising the site's integrity.

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-2021-32573?

CVE-2021-32573 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 May 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The express-cart package through 1.1.10 for Node.js allows Reflected XSS (for an admin) via a user input field for product options. NOTE: the vendor states that this "would rely on an admin hacking his/her own website.

Weakness: CWE-79

Which versions are affected by CVE-2021-32573?

It affects 1 product.

Products include Express-Cart Project Express-Cart.

How do I fix CVE-2021-32573?

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

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

Sources

Also known as GHSA-mpgq-6jmr-6c67.

Is CVE-2021-32573 in your software?

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

Check your SBOMs for free