Vulnerability · Published Oct 13, 2026 · Assigned by GitHub_M
CVE-2026-86016VNote: Stored XSS via YAML Frontmatter Leading to Local File Read and Remote Exfiltration
High 8.2
In plain English
A high-severity cross-site scripting in vnote from vnotex. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/vnotex/vnote/security/advisories/GHSA-vfhj-c636-h59x x_refsource_CONFIRM
- https://github.com/vnotex/vnote/commit/7371efde531312eb24beb982fb5fdd73469cb171 x_refsource_MISC
- https://github.com/vnotex/vnote/releases/tag/v4.3.0 x_refsource_MISC