{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.3.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7371efde531312eb24beb982fb5fdd73469cb171"
            },
            {
              "fixed": "01f60162d1188b57a1aa9033de7fdf6bb8cf4a9b"
            }
          ],
          "repo": "https://github.com/vnotex/vnote",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vfhj-c636-h59x"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86016.json"
  },
  "details": "VNote is a note-taking platform. Prior to 4.3.0, VNote uses the assignment `preNode.innerHTML = p_metaData` in src/data/extra/web/js/markdownit.js to insert YAML frontmatter metadata into a pre element before the protectFromXss sanitization path runs. Opening an attacker-supplied Markdown note can therefore execute stored JavaScript in the file:// viewer context. Because QWebEngineSettings::LocalContentCanAccessRemoteUrls enables local content to access remote URLs, the script can read reachable local note files and transmit their contents to a remote server without further interaction after the note is opened. This issue is fixed in version 4.3.0.",
  "id": "CVE-2026-86016",
  "modified": "2026-10-15T02:30:47.125255320Z",
  "published": "2026-10-13T19:15:21.682Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/vnotex/vnote/releases/tag/v4.3.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86016.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vnotex/vnote/security/advisories/GHSA-vfhj-c636-h59x"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-86016"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vnotex/vnote/commit/7371efde531312eb24beb982fb5fdd73469cb171"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "VNote: Stored XSS via YAML Frontmatter Leading to Local File Read and Remote Exfiltration"
}