title: Vendure - XSS via SVG File Upload
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.
problem types: CWE-79 Cross-site Scripting (XSS)
affected:
{
product: vendure
vendor: vendure-ecommerce
versions:
lessThan: unspecified, status: affected, version: 0.1.0-alpha.2, versionType: custom
lessThanOrEqual: 1.5.1, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 5.4
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: LOW
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
version: 3.1
]
solutions: Upgrade version to 1.5.2 or higher