Cross-site scripting in Wiki.js - #VU168847
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote user to execute script in a reader's wiki session and gain persistent administrator access if the reader is an administrator.
The vulnerability exists due to improper neutralization of stored input in the Wiki.js map block when the marker popup renders its label as HTML. A remote user can store a crafted marker label in a feedback idea or, with page-write permission, directly in a wiki page to execute script when a reader clicks the marker and create a persistent administrator account using an administrator's session.