CVE-2022-23065 Vendure - XSS via SVG File Upload

Medium 5.4 Published Updated

Attackers with catalog permissions can upload malicious SVG files to execute scripts against administrators and users in Vendure.

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
None listed

What is CVE-2022-23065?

CVE-2022-23065 is a medium-severity cross-site scripting vulnerability in vendure-ecommerce vendure, published on 2 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In Vendure versions 0.1.0-alpha.2 to 1.5.1 are affected by Stored XSS vulnerability, where an attacker having catalog permission can upload a SVG file that contains malicious JavaScript into the “Assets” tab. The uploaded file will affect administrators as well as regular users.

Weakness: CWE-79

Which versions are affected by CVE-2022-23065?

It affects 1 product.

Products include Vendure Vendure.

How do I fix CVE-2022-23065?

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

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

Sources

Also known as GHSA-8x3h-cp2w-x59w.

Is CVE-2022-23065 in your software?

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

Check your SBOMs for free