Home › CVE › JavaScript
CVE-2026-120697 — requarks wiki
One of 2 requarks wiki vulnerabilities published together by NVD: our article covers all of them.
JavaScriptVueWebBrowsersPhishingVulnerabilitiesResearch article
Wiki.js Vulnerability Allows XSS via Vue Directives
| CVE | CVE-2026-120697 |
|---|---|
| Vendor and product | requarks wiki |
| Published | November 24, 2026 05:00 UTC |
| Research cut-off | November 24, 2026 04:10 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-18); CISA KEV catalog; FIRST EPSS (2026-11-22) |
Executive summary
CVE-2026-120697 affects Wiki.js versions prior to 2.5.315, allowing authenticated users to inject JavaScript expressions into page HTML. The CVSS 3.1 score is 8.7 HIGH, scored by security-advisories@github.com [1]. The reviewed sources do not report exploitation [2]. The main action is to upgrade to the fixed version [1].
Key points
- CVE-2026-120697 affects Wiki.js versions prior to 2.5.315 [1].
- The CVSS 3.1 score is 8.7 HIGH, scored by security-advisories@github.com [1].
- The reviewed sources do not report exploitation [2].
- The vulnerability allows authenticated users to inject JavaScript expressions into page HTML [1].
- Upgrading to version 2.5.315 is the recommended mitigation [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-120697 | requarks | wiki | CWE-79 | 8.7 HIGH, scored by security-advisories@github.com | 2026-11-16T22:18:14 | 2026-11-18T18:18:54 | Received |
Vulnerability description
A logged-in account holding the write:pages permission is able to save JavaScript expressions inside certain HTML attributes of a page [1]. This happens because the server adds these directives to DOMPurify's allowlist, which permits them to be rendered as HTML and then processed by the Vue 2 compiler [1]. Such a script executes using the browser session of whoever views the page, and it may read same-origin data, alter what is shown on screen, or display phishing material [1].
Attack surface and exploitation prerequisites
The attacker needs the write:pages permission and can store JavaScript expressions in the v-slot:tabs or v-slot:content attributes [1]. The script runs when another user views the page, and the CVSS vector indicates user interaction is required [1].
Impact analysis
The CVSS vector shows high confidentiality and integrity impact with no availability impact [1]. The malicious script can access same-origin data, alter displayed content, display phishing material, or execute actions available to the viewer, including privileged GraphQL operations [1].
Affected products and versions
| Affected Product | Affected Version | Fixed Version |
|---|---|---|
| requarks wiki | < 2.5.315 | 2.5.315 |
Exploitation and threat intelligence status
CVE-2026-120697 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-24 [2]. The EPSS score for this CVE is 0.0034 (0.34%), suggesting a low likelihood of exploitation within the next 30 days [3].
Detection and exposure assessment
To check if a system is vulnerable, verify if the installed version of Wiki.js is below 2.5.315 [1]. There are no specific detection steps provided by the sources.
Remediation
The issue is resolved in version 2.5.315 [1]. Users should update to this version to reduce risk. Additional mitigation steps are not mentioned in the sources.
Remediation checklist
- Upgrade Wiki.js to version 2.5.315 [1].
- Reviewing who holds write:pages permissions is general defensive guidance, not a step given in the sources.
- Monitoring system logs for unusual activity is general defensive guidance, not a step given in the sources.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the attack lifecycle in detail.
- The sources do not provide indicators of compromise.
- The sources do not list a fixed version for all affected products.
References
- CVE-2026-120697 record. NIST National Vulnerability Database (NVD), 2026-11-18. https://nvd.nist.gov/vuln/detail/CVE-2026-120697. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-120697. FIRST, 2026-11-22. https://api.first.org/data/v1/epss?cve=CVE-2026-120697. Accessed 2026-11-24.
Summary
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.
Severity breakdown
High · 8.7
An attacker with a normal user account can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- yes, someone must click, open or visit something
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| requarks wiki | < 2.5.315 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- requarks wiki
Frequently asked questions
What is CVE-2026-120697?
CVE-2026-120697 affects Wiki.js versions prior to 2.5.315, allowing authenticated users to inject JavaScript expressions into page HTML. The CVSS 3.1 score is 8.7 HIGH, scored by security-advisories@github.com. The reviewed sources do not report exploitation. The main action is to upgrade to the fixed version. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-120697?
CVE-2026-120697 has a CVSS 3.1 base score of 8.7 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network if a user is tricked into an action.
Is CVE-2026-120697 being exploited?
Not as far as is known: CVE-2026-120697 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-120697?
requarks wiki < 2.5.315.
How do I fix CVE-2026-120697?
Upgrade Wiki.js to version 2.5.315. Reviewing who holds write:pages permissions is general defensive guidance, not a step given in the sources. Monitoring system logs for unusual activity is general defensive guidance, not a step given in the sources.
Timeline & sources
References
Related vulnerabilities & news
- Akaunting 3.3.0 XSS Vulnerability in Tax Import Workflow
- Nuxt Arbitrary File Read Vulnerability in 3.0.0-rc.1 to 3.0.0-rc.12
- Nuxt 3.0.0 to 3.4.1: Semi-Arbitrary File Read Vulnerability
- CVE-2026-118368 — Akaunting
- Nuxt Content (@nuxt/content) Unauthenticated Denial of Service via Content Query API (CVE-2026-102650)