Skip to content
Heist/ feed
Back to feed
Medium

Vendure - XSS via SVG File Upload

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23065
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:07 UTC · Revision 1

Source evidence

Vendure - XSS via SVG File Upload

core-osv · Original source

Published 2 May 2022, 12:30 UTC

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.

osv:CVE-2022-23065
Complete source record
{
  "id": "f6bba0f6392d10ca035570f4ca7ed0a5882068fb36bcebce54f924e9d9c62164",
  "url": "https://osv.dev/vulnerability/CVE-2022-23065",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Vendure - XSS via SVG File Upload",
    "summary": "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.",
    "evidence": "osv:CVE-2022-23065",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-23065",
      "aliases": [
        "CVE-2022-23065"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vendurehq/vendure",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "69a44869112c0a5b836e2ddd3969ea9b533f51f0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vendure:vendure:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.1.2"
                      },
                      {
                        "last_affected": "1.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "69a44869112c0a5b836e2ddd3969ea9b533f51f0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.5.1",
            "v1.5.0",
            "v1.4.7",
            "v1.4.6",
            "v1.4.5",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.4.0-beta.0",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v1.0.0-rc.0",
            "v1.0.0-beta.11",
            "v1.0.0-beta.10",
            "v1.0.0-beta.8",
            "v1.0.0-beta.9",
            "v1.0.0-beta.7",
            "v1.0.0-beta.6",
            "v1.0.0-beta.5",
            "v1.0.0-beta.4",
            "v1.0.0-beta.3",
            "v1.0.0-beta.2",
            "v1.0.0-beta.1",
            "v0.16.1",
            "v0.16.0",
            "v0.15.2",
            "v0.15.1",
            "v0.15.0",
            "v0.13.0",
            "v0.12.4",
            "v0.12.3",
            "v0.12.2",
            "v0.12.1",
            "v0.11.1",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.0",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.0",
            "v0.6.5",
            "v0.6.4",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.4",
            "v0.3.3",
            "v0.3.1",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.2-beta.12",
            "v0.1.2-beta.11",
            "v0.1.2-beta.10",
            "v0.1.2-beta.8",
            "v0.1.2-beta.7",
            "v0.1.2-beta.6",
            "v0.1.2-beta.5",
            "v0.1.2-beta.4",
            "v0.1.2-beta.3",
            "v0.1.2-beta.2",
            "v0.1.2-beta.1",
            "v0.1.2-beta.0",
            "0.1.0-alpha.18",
            "0.1.0-alpha.16",
            "0.1.0-alpha.15",
            "0.1.0-alpha.14",
            "0.1.0-alpha.13",
            "0.1.0-alpha.12",
            "0.1.0-alpha.11",
            "0.1.0-alpha.10",
            "0.1.0-alpha.9",
            "0.1.0-alpha.8",
            "0.1.0-alpha.7",
            "0.1.0-alpha.6",
            "0.1.0-alpha.5",
            "0.1.0-alpha.4",
            "0.1.0-alpha.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23065.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.750068444Z",
      "provider": "osv",
      "references": [
        "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-23065",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23065.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-23065",
        "https://github.com/vendure-ecommerce/vendure/commit/69a44869112c0a5b836e2ddd3969ea9b533f51f0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Mend",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23065.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-23065",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504013,
  "published_at": "2022-05-02T12:30:16.462+00:00"
}