Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| YesWiki / yeswiki | affected 0 before 4.6.7; unaffected 4.6.7 |
CWE
CWE-79
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
ADP enrichment
No English description supplied.