← Back to search

CVE-2026-86016

8.2 HIGHpublic exploit available

Published 2026-10-13 · Updated 2026-10-16

AI risk analysis

Summary
VNote fails to sanitize YAML frontmatter metadata before inserting it into HTML, allowing stored XSS that can execute JavaScript in the file:// viewer context. Attackers can craft Markdown notes that, when opened, read local files and exfiltrate data without further user interaction.
Exploitability
Easy to exploit with a single crafted Markdown note; requires no user interaction after opening the note, as the script executes automatically in the local file context.
Blast radius
High impact across all VNote users who open potentially malicious notes, especially those with access to sensitive local files that can be read and exfiltrated.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to VNote version 4.3.0 or later to receive the fix for the YAML metadata sanitization issue.
xssfile-accesslocal-contentnote-taking

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

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

Weaknesses

CWE-79

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.