Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-120697— Wiki.js: Stored XSS via Vue Slot Directives in Page Content

Quick assessment

Affected
requarks wiki
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Wiki.js 是一个基于 Node.js 构建的开源 Wiki 应用程序。在 2.5.315 版本之前,拥有 权限的已认证用户可以在页面 HTML 的 或 属性中存储 JavaScript 表达式,因为 文件将这些可执行的 Vue 指令添加到了 DOMPurify 的白名单中。经过净化的输出内容会被插入为渲染后的页面 HTML,并随后由 Vue 2 运行时编译器进行编译。因此,即使作者不具备 权限或管理员权限,当其他用户查看该页面时,这些表达式仍会在 Wiki.js 的源(origin)上下文中执行。 该脚本将在

CVSS 8.7 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-120697

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Wiki.js: Stored XSS via Vue Slot Directives in Page Content
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
requarks wiki < 2.5.315 -

II. Public POCs for CVE-2026-120697

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120697

请登录查看更多情报信息。

Other References for CVE-2026-120697 (3)

IV. Related Vulnerabilities