---
id: CVE-2026-104461
title: >-
  YesWiki before 4.6.7 contains a stored cross-site scripting vulnerability in
  the Bazar FileField, which validates only the upload's file extension and
  never calls HtmlPurifierService::cleanFile, so SVG files are stored verbatim
  and serve…
summary: >-
  YesWiki before 4.6.7 contains a stored cross-site scripting vulnerability in
  the Bazar FileField, which validates only the upload's file extension and
  never calls HtmlPurifierService::cleanFile, so SVG files are stored verbatim
  and serve…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: YesWiki
product: yeswiki
affected:
  - yeswiki < 4.6.7
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T12:17:18.423'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104461'
references:
  - url: 'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-67v5-7pfv-pp9m'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/yeswiki-before-4.6.7-stored-xss-via-unsanitized-svg-upload-in-bazar-filefield
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-02T12:17:44.343Z'
---

## Overview

YesWiki before 4.6.7 contains a stored cross-site scripting vulnerability in the Bazar FileField, which validates only the upload's file extension and never calls HtmlPurifierService::cleanFile, so SVG files are stored verbatim and served inline as image/svg+xml. Authenticated users can submit entries via POST /api/entries/{formId} with SVG files containing script that executes in the wiki origin when the file is opened, enabling administrator session or account compromise.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
