CVE-2026-86016

VNote: Stored XSS via YAML Frontmatter Leading to Local File Read and Remote Exfiltration

Published Oct 13, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A stored XSS flaw exists in VNote’s handling of YAML frontmatter metadata. The application injects the raw frontmatter string into a pre element before sanitization, allowing an attacker to embed JavaScript that runs in the file:// viewer context. This script can read local note files and transmit their contents to a remote server, resulting in unauthorized disclosure of local data and potential remote exfiltration.

Affected Systems

Vulnerable VNote versions are all releases prior to 4.3.0. The affected product is vnotex’s VNote note‑taking application.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity. No EPSS information is available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the victim to open a crafted Markdown file within VNote; once opened, the stored JavaScript executes in the local file context and can access both local files and remote URLs due to the QWebEngineSettings setting that permits local content to access remote resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade VNote to version 4.3.0 or later to remove the vulnerable code.
  • If possible, reconfigure QWebEngineSettings to disable LocalContentCanAccessRemoteUrls so that local pages cannot access remote URLs.
  • Avoid opening or importing Markdown files from untrusted sources until a patch is applied or the configuration is secured; use a sandboxed viewer when possible.

Generated by OpenCVE AI on October 14, 2026 at 13:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vnotex
Vnotex vnote
Vendors & Products Vnotex
Vnotex vnote
Type Values Removed Values Added
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.
Title VNote: Stored XSS via YAML Frontmatter Leading to Local File Read and Remote Exfiltration
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 29, 2026, 2:44 PM
Reserved
Sep 4, 2026, 7:23 PM
Status
Deferred
Published
Oct 13, 2026, 8:18 PM
Modified
Oct 29, 2026, 3:17 PM