CVE-2026-120697
8.7HighPublished 16 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- Required
- Impact
- High impact on confidentiality, integrity
- Weakness
- CWE-79
What an attacker gets
Authenticated users can execute arbitrary JavaScript in the browser of any user viewing a malicious page, including administrators. This allows attackers to hijack sessions or perform privileged actions via GraphQL.
Root cause
The application incorrectly adds executable Vue directives to the DOMPurify allowlist, allowing malicious scripts to bypass sanitization.
Affected versions
Wiki.js prior to 2.5.315
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Fix & remediation
Upgrade to Wiki.js version 2.5.315 or later. If you cannot patch immediately, restrict 'write:pages' permissions to trusted users only.
$ npm install wiki@2.5.315AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.