{"id":"CVE-2026-86016","summary":"VNote: Stored XSS via YAML Frontmatter Leading to Local File Read and Remote Exfiltration","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.","aliases":["GHSA-vfhj-c636-h59x"],"modified":"2026-10-15T02:47:34.065843805Z","published":"2026-10-13T19:15:21.682Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86016.json","cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vnotex/vnote","events":[{"introduced":"0"},{"fixed":"7371efde531312eb24beb982fb5fdd73469cb171"},{"fixed":"01f60162d1188b57a1aa9033de7fdf6bb8cf4a9b"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"4.3.0"}]}}],"versions":["v4.2.0","v4.1.1","v4.1.0","continuous-build","v3.20.1","v3.20.0","v3.19.2","v3.19.1","v3.19.0","v3.18.2","v3.18.1","v3.18.0","v3.17.0","v3.16.0","v3.15.1","v3.15.0","v3.14.0","v3.13.1","v3.13.0","v3.12.888","v3.12.0","v3.11.0","3.11.0","v3.10.1","v3.10.0","v3.9.0","v3.8.1","v3.8.0","v3.7.0","v3.6.0","v3.5.1","v3.5.0","v3.4.0","v3.3.0","v3.2.0","v3.1.0","v3.0.1","v3.0.0-beta.11","v3.0.0-beta.10","v3.0.0-beta.9","v3.0.0-beta.8","v3.0.0-beta.7","v3.0.0-beta.6","v3.0.0-beta.5","v3.0.0-beta.4","v3.0.0-beta.3","v3.0.0-beta.2","v3.0.0-beta.1","v2.10","v2.9.1","v2.9","v2.8.2","v2.8.1","v2.8","v2.7.2","v2.7.1","v2.7","v2.6","v2.5","v2.4","2.4","v2.3","v2.2","v2.1","v2.0","v1.22","v1.21","v1.20","v1.19","v1.18","v1.17","v1.16","v1.15","v1.14","v1.13","v1.12","v1.11.1","v1.11","v1.10","v1.9","v1.8","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86016.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}