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.
Published: 2026-10-13
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored cross‑site scripting enabling local file read and remote exfiltration
Action: Immediate Patch
AI Analysis

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.

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

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

History

Thu, 29 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 18 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Vnotex
Vnotex vnote
Vendors & Products Vnotex
Vnotex vnote

Tue, 13 Oct 2026 19:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T14:44:07.158Z

Reserved: 2026-09-04T19:23:40.691Z

Link: CVE-2026-86016

cve-icon Vulnrichment

Updated: 2026-10-29T14:43:45.476Z

cve-icon NVD

Status : Deferred

Published: 2026-10-13T20:18:55.303

Modified: 2026-10-29T15:17:25.207

Link: CVE-2026-86016

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T14:15:14Z

Weaknesses
  • CWE-79

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