Read the docs

Stored XSS via Vue slot directives in Wiki.js page content

Priority MEDIUM 53CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Wiki.js before 2.5.315 is affected. The HTML sanitizer allows Vue v-slot directives, so stored JavaScript expressions in page content run when Vue compiles the page (CWE-79). An authenticated user with write:pages permission can plant them, and they execute for any user who views the page, using that viewer's session. The script can read same-origin data, alter page content, or act with the viewer's privileges.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Fix Fixed wiki (requarks): 2.5.315

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Requarkswikibefore 2.5.3152.5.315Patch availableCNA
  • wiki VendorRequarks Affected before 2.5.315 Fixed in 2.5.315 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:*——Requarks
  • cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:* Versions — — ·Requarks

Remediation

Upgrade Wiki.js to version 2.5.315, the fixed version.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA wiki (requarks) Fixed in 2.5.315

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-120697

References

  • TI-2026-92328 Incorrect authorization in Wiki.js allows administrator takeover CVSS 3.1HIGH 8.8
  • TI-2026-62518 Wiki.js through 2.5.314 Path Prefix Matching Authorization Bypass CVSS 4.0HIGH 8.6
  • TI-2026-32203 Wiki.js: Privilege Escalation via Missing Group Validation in users.update CVSS 4.0HIGH 8.6
  • TI-2026-62517 Wiki.js through 2.5.314 Server-Side Request Forgery via Image Prefetch CVSS 4.0HIGH 7.1
  • TI-2024-23007 Wiki.js Stored XSS through Client Side Template Injection CVSS 3.1HIGH 7.1
  • TI-2021-07999 Requarks wiki.js - Stored Cross-Site Scripting (XSS) in markdown editor CVSS 3.1MEDIUM 5.4
See all 20 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences