Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-120697 — requarks wiki

High · CVSS 8.7EPSS 0.4% First seen November 16, 2026

One of 2 requarks wiki vulnerabilities published together by NVD: our article covers all of them.

JavaScriptVueWebBrowsersPhishingVulnerabilities

Research article

Wiki.js Vulnerability Allows XSS via Vue Directives

CVECVE-2026-120697
Vendor and productrequarks wiki
PublishedNovember 24, 2026 05:00 UTC
Research cut-offNovember 24, 2026 04:10 UTC
Sources reviewed3: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-120697requarkswikiCWE-798.7 HIGH, scored by security-advisories@github.com2026-11-16T22:18:142026-11-18T18:18:54Received

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 ProductAffected VersionFixed Version
requarks wiki< 2.5.3152.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

  1. Upgrade Wiki.js to version 2.5.315 [1].
  2. Reviewing who holds write:pages permissions is general defensive guidance, not a step given in the sources.
  3. 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

  1. 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. CVE record, CVSS scores, CWE, affected versions, official description, remediation
  2. 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. Exploitation status
  3. 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. EPSS score and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.7 CVSS 3.1 base score 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.

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

Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
requarks wiki< 2.5.315—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

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