YesWiki Stored Blind Cross-Site Scripting Vulnerability

Vulnerability

A stored and blind cross-site scripting (XSS) vulnerability has been identified in YesWiki versions prior to 4.6.0. The issue resides in the form title input field, where an unauthenticated attacker can inject JavaScript that is saved in the backend database. When any user accesses the page with the injected title, the JavaScript payload is executed in their browser.

Impact

Exploitation of this vulnerability allows for arbitrary execution of JavaScript in the context of the victim's browser. This could lead to session hijacking, data theft, or reputational damage, particularly since the vulnerability is stored and blind, with a high risk to admins and privileged users.

Reproduction

To reproduce this vulnerability, visit the YesWiki instance and navigate to the BazaR wiki. Access the form title input field and inject a JavaScript payload, such as a script tag including a JavaScript alert. After saving the form, the injected script will execute when the page is viewed, particularly in the diary record section.

Remediation

Users can update to YesWiki version 4.6.0 or later, where this vulnerability has been patched.

Added: Apr 2, 2026, 6:45 PM
Updated: Apr 2, 2026, 6:45 PM

Vulnerability Rating

Custom Algorithm
spread
1.9
impact
1.7
exploitability
7.7
remediation
7.7
relevance
5.1
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.