Cross-site scripting in Wiki.js - CVE-2021-21383
Published: March 13, 2021 / Updated: April 28, 2026
Wiki.js
Requarks.io
Description
The vulnerability allows a remote user to execute arbitrary JavaScript in the browser of another user.
The vulnerability exists due to cross-site scripting in code blocks when rendering wiki page content containing mustache expressions. A remote user can create a crafted wiki page to execute arbitrary JavaScript in the browser of another user.
User interaction is required because the crafted page must be viewed by another user.