Vulnerability

CVE-2026-120697

highCVSS 3.1 8.7Published 16 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6…
  • github.com /requarks/wiki/releases/tag/v2.5.315
  • github.com /requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning