# CVE-2026-86016: VNote: Stored XSS via YAML Frontmatter Leading to Local File Read and Remote Exfiltration

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-13T19:15:21.682Z
- Modified: 2026-10-29T15:17:25.207Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- vnotex vnote: < 4.3.0

## References

- <https://github.com/vnotex/vnote/security/advisories/GHSA-vfhj-c636-h59x> (exploit)
- <https://github.com/vnotex/vnote/commit/7371efde531312eb24beb982fb5fdd73469cb171>
- <https://github.com/vnotex/vnote/releases/tag/v4.3.0>

## Sources

- CVE List: [CVE-2026-86016](https://www.cve.org/CVERecord?id=CVE-2026-86016), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-86016](https://nvd.nist.gov/vuln/detail/CVE-2026-86016), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-86016 · Whole record: https://cve.day/CVE-2026-86016.json · Rebuilt by cve.day 2026-11-25T22:59:44.521Z
