YesWiki versions before 4.6.7 have a stored cross-site scripting (XSS) vulnerability in the Bazar FileField. This vulnerability arises because the system only validates the file extension of uploads and does not sanitize SVG files using HtmlPurifierService::cleanFile. As a result, malicious SVG files containing scripts can be stored and served inline, allowing authenticated users to execute scripts in the context of the wiki origin. This can lead to compromise of administrator sessions or accounts.