{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-86016",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-09-04T19:23:40.691Z",
        "datePublished": "2026-10-13T19:15:21.682Z",
        "dateUpdated": "2026-10-13T19:15:21.682Z"
    },
    "containers": {
        "cna": {
            "title": "VNote: Stored XSS via YAML Frontmatter Leading to Local File Read and Remote Exfiltration",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/vnotex/vnote/security/advisories/GHSA-vfhj-c636-h59x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/vnotex/vnote/security/advisories/GHSA-vfhj-c636-h59x"
                },
                {
                    "name": "https://github.com/vnotex/vnote/commit/7371efde531312eb24beb982fb5fdd73469cb171",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vnotex/vnote/commit/7371efde531312eb24beb982fb5fdd73469cb171"
                },
                {
                    "name": "https://github.com/vnotex/vnote/releases/tag/v4.3.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vnotex/vnote/releases/tag/v4.3.0"
                }
            ],
            "affected": [
                {
                    "vendor": "vnotex",
                    "product": "vnote",
                    "versions": [
                        {
                            "version": "< 4.3.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-13T19:15:21.682Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-vfhj-c636-h59x",
                "discovery": "UNKNOWN"
            }
        }
    }
}