{"id":"CVE-2026-120697","summary":"Wiki.js: Stored XSS via Vue Slot Directives in Page Content","details":"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.","aliases":["GHSA-98c8-px3r-68c6"],"modified":"2026-11-17T21:00:39.261699249Z","published":"2026-11-16T21:20:54.359Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120697.json"},"references":[{"type":"WEB","url":"https://github.com/requarks/wiki/releases/tag/v2.5.315"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120697.json"},{"type":"ADVISORY","url":"https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120697"},{"type":"FIX","url":"https://github.com/requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6e79"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/requarks/wiki","events":[{"introduced":"0"},{"fixed":"1161ddc6e6f4388a15d90278d55b099248ce6e79"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.5.315"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"1161ddc6e6f4388a15d90278d55b099248ce6e79"}]},{"original_tag":"v2.5.315","range":[{"fixed":"1161ddc6e6f4388a15d90278d55b099248ce6e79"}],"source":"REFERENCES_TAG"},{"range":[{"introduced":"0"},{"fixed":"2.5.315"}],"source":"DESCRIPTION"}]}}],"versions":["v2.5.314","v2.5.313","v2.5.312","v2.5.311","v2.5.310","v2.5.309","v2.5.308","v2.5.307","v2.5.306","v2.5.305","v2.5.304","v2.5.303","v2.5.302","v2.5.301","v2.5.300","v2.5.299","v2.5.298","v2.5.297","v2.5.296","v2.5.295","v2.5.294","v2.5.293","v2.5.292","v2.5.291","v2.5.290","v2.5.289","v2.5.288","v2.5.287","v2.5.286","v2.5.285","v2.5.284","v2.5.283","v2.5.282","v2.5.281","v2.5.280","v2.5.279","v2.5.278","v2.5.277","v2.5.276","v2.5.275","2.5.274","2.5.272","2.5.268","2.5.264","2.5.260","2.5.255","2.5.254","2.5.219","2.5.214","2.5.201","2.5.197","2.5.191","2.5.170","2.5.159","2.5.144","2.5.136","2.5.132","2.5.126","2.5.121","2.5.117","2.5.105","2.4.107","2.4.105","2.4.75","2.3.77","2.3.72","2.3.71","2.2.51","2.2.50","2.1.113","2.0.12","2.0.1","2.0.0-rc.17","2.0.0-rc.1","2.0.0-beta.303","2.0.0-beta.275","2.0.0-beta.268","2.0.0-beta.267","2.0.0-beta.241","2.0.0-beta.230","2.0.0-beta.208","2.0.0-beta.203","2.0.0-beta.180","2.0.0-beta.174","2.0.0-beta.148","2.0.0-beta.147","2.0.0-beta.115","2.0.0-beta.91","2.0.0-beta.84","2.0.0-beta.68","2.0.0-beta.42","2.0.0-beta.11","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.0-beta.13","v1.0.0-beta.12","v1.0.0-beta.11","v1.0.0-beta.10","v1.0.0-beta.9","v1.0.0-beta.8","v1.0.0-beta.7","v1.0.0-beta.6","v1.0-beta.5","v1.0-beta.4","v1.0-beta.3","v1.0-beta.2","v1.0-beta.1","v1.0-alpha.7","v1.0-alpha.6","v1.0-alpha.5","v1.0-alpha.4","v1.0-alpha.3","v1.0-alpha.2","v1.0-alpha.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120697.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}