CVE-2026-120697
High 8.7No known exploitationFix status unknownWiki.js: Stored XSS via Vue Slot Directives in Page Content
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 14% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-79
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| requarks | wiki | < 2.5.315 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://github.com/requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6e79 (opens in a new tab)x_refsource_misc
- https://github.com/requarks/wiki/releases/tag/v2.5.315 (opens in a new tab)x_refsource_misc
- https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6 (opens in a new tab)x_refsource_confirm