WIKI.JS · CVE-2026-120697 · Runtime
NO FIX YET · SEE WHAT TO DO
Wiki.js lets a user with page-write permission store Vue directives that the sanitizer allows, so the expressions execute when another user views the page. The script runs with the viewer's session and can act as that user, including privileged operations when an administrator opens the page.
first public Sep 21, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Self-hosted Wiki.js instances running a version before 2.5.315 are exposed when users with page-write permission can create or edit pages that other users view. Instances where only trusted administrators can write pages carry lower practical risk, but the fix still applies. Managed hosting is handled by the provider, and the sources do not say whether any hosted offering is affected.
Not affected if auth-required, managed-hosting
Who cares node.js, self-hosted, wiki.js
package.json in the install directory or the admin dashboard; versions below 2.5.315 are affected.write:pages permission, since those are the accounts that can plant the payload.2.5.315.Wiki.js is an open source wiki app built on Node.js. Prior to 2.5.315, an authenticated user with write:pages can store JavaScript expressions in the v-slot:tabs or v-slot:content attributes of page HTML because server/modules/rendering/html-security/renderer.js adds those executable Vue directives to DOMPurify's allowlist. The sanitized output is inserted as rendered page HTML and later compiled by the Vue 2 runtime compiler, so the expressions execute in the Wiki.js origin when another user views the page even when the author lacks write:scripts and administrative permissions. The script runs with the viewer's browser session and can read same-origin data, modify displayed content, present phishing content, or perform actions available to that viewer, including privileged GraphQL operations when a privileged user opens the page. This issue is fixed in version 2.5.315.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.