Technical impact
YesWiki versions 4.2.0 to 4.6.x contain a stored cross-site scripting flaw. It allows any authenticated user to inject unescaped JavaScript into comment bodies by using the wakka raw-HTML syntax on the /api/comments endpoint. The injected code is rendered through Twig's raw filter, leading to arbitrary script execution in the contexts of both administrators and other visitors who view the affected comments.
Affected Systems
Impact is limited to installations of YesWiki from version 4.2.0 through 4.6.x, as the vulnerability was patched in 4.7.0. All users of these versions, including administrators, can be affected. The affected product is YesWiki, ranging from version 4.2.0 to 4.6.x.
Risk and Exploitability
With a CVSS score of 5.3 the vulnerability is considered moderate. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user who can post comments via the API, which means that attackers must first compromise a user account or gain login access. Once achieved, the stored XSS can lead to client-side attacks such as credential theft, session hijacking, or defacement, impacting confidentiality and integrity of users.