{"id":"CVE-2026-120697","state":"PUBLISHED","title":"Wiki.js: Stored XSS via Vue Slot Directives in Page Content","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.","publishedAt":"2026-11-16T21:20:54.359Z","updatedAt":"2026-11-18T18:00:16.109Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["requarks wiki"],"affected":[{"vendor":"requarks","product":"wiki","versions":[{"version":"< 2.5.315","status":"affected"}]}],"references":["https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6","https://github.com/requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6e79","https://github.com/requarks/wiki/releases/tag/v2.5.315"],"weaknesses":["CWE-79"],"ingestedAt":"2026-11-18T18:20:04.396Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120697.json","commit":"939e6b182d544eceab3453ca6ea81b3e46be20c7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120697","state":"PUBLISHED","datePublished":"2026-11-16T21:20:54.359Z","dateUpdated":"2026-11-18T18:00:16.109Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-02T19:50:36.444Z"},"containers":{"cna":{"title":"Wiki.js: Stored XSS via Vue Slot Directives in Page Content","descriptions":[{"lang":"en","value":"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":[{"vendor":"requarks","product":"wiki","versions":[{"version":"< 2.5.315","status":"affected"}]}],"references":[{"url":"https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6","name":"https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6e79","name":"https://github.com/requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6e79","tags":["x_refsource_MISC"]},{"url":"https://github.com/requarks/wiki/releases/tag/v2.5.315","name":"https://github.com/requarks/wiki/releases/tag/v2.5.315","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-16T21:20:54.359Z"},"source":{"advisory":"GHSA-98c8-px3r-68c6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-18T17:59:39.753210Z","id":"CVE-2026-120697","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-18T18:00:16.109Z"}}]}}}