Description
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.
Published: 2026-10-02
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting with potential administrator session compromise
Action: Patch
AI Analysis

Impact

YesWiki before 4.6.7 stores uploaded SVG files without sanitization, serving them inline as image/svg+xml. An attacker who is able to authenticate to the site can submit a crafted SVG via POST /api/entries/{formId}. The SVG may contain embedded scripts that execute in the context of the wiki origin when the file is viewed, giving the attacker the power to run arbitrary code as the administrator or compromise an administrator’s session.

Affected Systems

The vulnerability affects all installations of YesWiki with a version earlier than 4.6.7. It is present in the YesWiki product, which is identified by the CNA as yeswiki:yeswiki.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector requires an authenticated user to upload a malicious SVG file, so the exploit can occur only when the attacker has legitimate access credentials. Once the SVG is displayed by a user, the embedded script runs with the privileges of that user, potentially allowing compromise of administrator accounts if the script can elevate privileges or hijack sessions.

Generated by OpenCVE AI on October 2, 2026 at 13:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update YesWiki to version 4.6.7 or later, where the SVG upload sanitization has been added.
  • If an immediate upgrade is not feasible, limit the accepted MIME types for uploads and reject or sanitize SVG files on the server side before storage.
  • Configure the web server or application to disable inline serving of SVG content or enforce a strict content security policy that blocks script execution within SVG files.

Generated by OpenCVE AI on October 2, 2026 at 13:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title YesWiki before 4.6.7 Stored XSS via Unsanitized SVG Upload in Bazar FileField
First Time appeared Yeswiki
Yeswiki yeswiki
Weaknesses CWE-79
CPEs cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*
Vendors & Products Yeswiki
Yeswiki yeswiki
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-06T16:17:59.105Z

Reserved: 2026-10-02T00:55:11.982Z

Link: CVE-2026-104461

cve-icon Vulnrichment

Updated: 2026-10-06T16:17:50.108Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T12:17:18.303

Modified: 2026-10-06T17:17:13.037

Link: CVE-2026-104461

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T16:45:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')