CVE-2026-120697

    Dashboard / Vulnerabilities / CVE-2026-120697

    CVE-2026-120697

    Published: 16 Nov 2026Last Modified: 19 Nov 2026

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected 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

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High