Cross-site scripting in Wiki.js - #VU169986
Published: November 24, 2026
Vulnerability details
The vulnerability allows a remote user to execute JavaScript in the wiki's origin when another user opens an affected page revision, potentially reading restricted content or making changes with that user's permissions.
The vulnerability exists due to missing HTML sanitization in the page history version view when it inserts rendered Markdown or raw HTML from a stored revision into the browser's DOM. A remote user can use page-editing permissions to store malicious content that runs when another user views the revision.