{"id":"CVE-2026-120697","aliases":["CVE-2026-120697"],"related":[],"kind":"vulnerability","state":"published","title":"Wiki.js: Stored XSS via Vue Slot Directives in Page Content","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-16T21:20:54.359Z","modified":"2026-11-18T18:18:54.097Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.5.315","status":"affected"}],"vendor":"requarks","product":"wiki","source":"cvelist"}],"references":[{"url":"https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6e79","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/requarks/wiki/releases/tag/v2.5.315","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-18T17:59:39.753Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120697","url":"https://www.cve.org/CVERecord?id=CVE-2026-120697","licence":"CVE Terms of Use","modified":"2026-11-18T18:00:16.109Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120697","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120697","licence":"Public domain","modified":"2026-11-18T18:18:54.097Z"}],"updatedAt":"2026-11-25T22:59:50.932Z","epss":{"score":0.00342,"percentile":0.29764,"date":"2026-12-01T12:00:22.000Z"}}