Skip to main content

Wiki.js EUVDEUVD-2026-126672

| CVE-2026-120697 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-16 GitHub_M
8.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain account with write:pages
  2. Delivery
    Store Vue directive payload in page content
  3. Exploit
    Privileged user views the page
  4. Execution
    Vue compiler evaluates slot expression
  5. Impact
    Exfiltrate JWT / invoke privileged GraphQL

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Wiki.js account holding write:pages permission on the target page path; it explicitly does NOT require write:scripts or administrative permission, which is the core of the flaw. The attacker must place a JavaScript expression inside the v-slot:tabs or v-slot:content attribute of a <tabset>/<template> block, which the html-security renderer (server/modules/rendering/html-security/renderer.js) wrongly adds to the DOMPurify allowlist and which the Vue 2 runtime compiler (vue/dist/vue.esm.js, mounted on #root) later evaluates. Execution is LIMITED by required victim interaction (UI:R): a second user must view the stored page for the payload to fire, and the severity of the resulting actions scales with that viewer's permissions - maximal when an administrator views the page. Affected versions are prior to 2.5.315; upgrading to 2.5.315 (which strips directive values and rejects v-/:/@/

attributes) is the complete fix.

Impact

This is a genuine near-term priority rather than a CVSS-inflated issue, though it is not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N, 8.7) is internally consistent with the mechanism: network-reachable, low complexity, but gated by two real friction factors - an authenticated account holding write:pages (PR:L) and a second user actually viewing the poisoned page (UI:R). The scope change (S:C) is well justified because the stored expression executes in the Wiki.js origin against a different user's session. The vuln.today decision label is 'this_week', which aligns with a stored-XSS-to-account-takeover chain that is serious but conditional, not wormable. No EPSS score and no CISA KEV entry are present in the input, so there is no evidence of active exploitation; exploitation status is therefore 'no public exploit identified as actively used.' However, the GHSA advisory embeds a complete, step-by-step JavaScript payload that exfiltrates the JWT cookie, so a practical attack recipe is public. The main caveat is impact amplification: the raw CVSS assumes high C/I, but the real severity is contingent on WHO views the page - a non-privileged viewer yields session-scoped actions, while a privileged/admin viewer escalates to privileged GraphQL operations and, per the advisory, potential server-side code execution via the Git storage module. There are no conflicting signals in the vector versus the description; both agree this requires an authenticated low-privilege author and victim interaction.

Exploit ScenarioDerived

An authenticated contributor with only write:pages permission (no write:scripts, no admin) creates or edits a wiki page containing a <tabset> block whose v-slot:tabs attribute holds a JavaScript expression. When any other user - ideally an administrator - opens that page, the Vue 2 runtime compiler evaluates the expression in the Wiki.js origin, sending the victim's JWT cookie to an attacker server and enabling actions with the victim's privileges. A detailed working PoC payload is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Stored cross-site scripting in Wiki.js (all versions prior to 2.5.315) lets an account holding only write:pages permission plant a JavaScript expression inside the v-slot:tabs or v-slot:content attribute of a page, which the HTML-security sanitizer passes through and the Vue 2 runtime compiler later evaluates in the browser of anyone who opens the page. The payload fires only when a victim views the stored page, but the same-origin actions it can take scale with that viewer's privileges - an administrator opening the page exposes privileged GraphQL operations, and the advisory's reproduction shows JWT cookie exfiltration from an admin session. NVD-style scoring is 8.7 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N, CWE-79); version 2.5.315 fixes it by blanking directive values and rejecting any other v-/:/@/

attribute, and a full proof-of-concept payload with reproduction steps is published in the vendor advisory (GHSA-98c8-px3r-68c6) - there is no CISA KEV entry indicating active exploitation.

RemediationAI

Upgrade to Wiki.js 2.5.315, which is the complete vendor fix: it registed a DOMPurify uponSanitizeAttribute hook that empties the value of v-pre, v-slot:tabs and v-slot:content and drops any other attribute beginning with v-, :, @ or

(release: https://github.com/requarks/wiki/releases/tag/v2.5.315, advisory: https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6). The advisory notes that simply deleting v-slot:tabs and v-slot:content from the sanitizer allowlist is an immediate stopgap but breaks the server-generated tabset markup, because HTML Security runs after the Tabset renderer - the correct long-term change renders tabsets as inert HTML with fixed classes and data-* identifiers instead of compiling page content as a Vue template. Evidence-supported defense in depth from the advisory: reject author-controlled attributes beginning with v-, :, @ or #; stop compiling server-rendered user content with the Vue runtime compiler; deploy a Content Security Policy that does not permit unsafe dynamic evaluation (this side effect can break legitimate inline script features, so a nonce/hash-based policy should be tested first); and add regression tests for both slot directives plus a check that a write:pages-only user cannot execute JavaScript through any page-content field. Until upgraded, treat every account with write:pages as able to run script in the session of anyone, including administrators, who views the affected pages.

Affected VersionsENISA

wiki < 2.5.315

Affected Packages

euvd wiki fix: 2.5.315

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Wiki.js renders page content through a chain of server-side renderers; the last one, server/modules/rendering/html-security/renderer.js, sanitizes output with DOMPurify using explicit allowlists. Prior to the fix those allowlists included the executable Vue slot directives 'v-slot:tabs' and 'v-slot:content' (alongside 'v-pre' and the custom 'tabset'/'template' tags), because the built-in Tabset renderer emits that markup and its attribute values were assumed to be empty flags. The sanitized HTML is injected raw into page.pug and Vue is mounted on the whole #root element using the compiler-enabled build (vue/dist/vue.esm.js), so any value left on a directive is compiled as a JavaScript expression. This is a textbook CWE-79 (improper neutralization of input during web page generation) in the stored flavour: the existing write:scripts authorization check in server/models/pages.js covers ordinary page JavaScript but not Vue expressions embedded in content attributes handed to the client-side compiler. The CPE cpe:2.3:a:requarks:wiki identifies the affected Requarks Wiki.js package (npm/wikijs); the fix commit 1161ddc6e6f4388a15d90278d55b099248ce6e79 registers a DOMPurify 'uponSanitizeAttribute' hook that empties the three allowed directive values and sets keepAttr = false for any attribute matching /^(v-|:|@|#)/, with unit tests covering v-html, :class, v-bind, @click, v-on and v-slot bindings.

Know when Wiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

Authenticated write:pages author (PR:L) stores script that runs only when another user views the page (UI:R), executing cross-privilege in the Wiki.js origin (S:C) with high C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 22:19 EUVD
CVE Published
Nov 16, 2026 - 21:20 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Technical POC Analysis

Evidence note: the supplied material is the vendor advisory (GHSA-98c8-px3r-68c6) plus the CVE metadata.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity stored cross-site scripting vulnerability in Wiki.js (all versions before 2.5.315) allows users with minimal page-write permissions to inject JavaScript that executes in the browsers of viewers, including administrators. Successful exploitation can lead to the theft of session tokens and unauthorized privileged actions, compromising the integrity and confidentiality of the wiki and any integrated systems.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular self-hosted open-source wiki, common but not ubiquitous in enterprises
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy