{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.5.315"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "1161ddc6e6f4388a15d90278d55b099248ce6e79"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.5.315",
                "range": [
                  {
                    "fixed": "1161ddc6e6f4388a15d90278d55b099248ce6e79"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.5.315"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1161ddc6e6f4388a15d90278d55b099248ce6e79"
            }
          ],
          "repo": "https://github.com/requarks/wiki",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-98c8-px3r-68c6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120697.json"
  },
  "details": "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.",
  "id": "CVE-2026-120697",
  "modified": "2026-11-17T20:46:06.260823738Z",
  "published": "2026-11-16T21:20:54.359Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/requarks/wiki/releases/tag/v2.5.315"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120697.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/requarks/wiki/security/advisories/GHSA-98c8-px3r-68c6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120697"
    },
    {
      "type": "FIX",
      "url": "https://github.com/requarks/wiki/commit/1161ddc6e6f4388a15d90278d55b099248ce6e79"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Wiki.js: Stored XSS via Vue Slot Directives in Page Content"
}