CVE-2026-104461
5.1
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
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 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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| YesWiki | yeswiki | 0 < 4.6.7 | affected |
| YesWiki | yeswiki | 4.6.7 | unaffected |
Weaknesses
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/YesWiki/yeswiki/security/advisories/GHSA-67v5-7pfv-pp9m
- https://www.vulncheck.com/advisories/yeswiki-before-4.6.7-stored-xss-via-unsanitized-svg-upload-in-bazar-filefield
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.