Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-17496
VULNERABILITY

CVE-2026-17496

Common Vulnerabilities and Exposures record

HIGH

Summary

NoteGen before 0.32.0 renders AI chat responses with markdown-it configured with html:true and injects the result into the DOM via dangerouslySetInnerHTML in chat-preview, without HTML sanitization and with CSP set to null. Attacker-controlled content that reaches the model prompt (for example a malicious skill REFERENCE.md that instructs the model to emit HTML) can cause the model response to include executable markup such as an img onerror handler. When the user views the chat response, that markup runs as JavaScript in the privileged Tauri webview, enabling arbitrary script execution in the application context (cross-site scripting).

Risk

CVSS
8.1
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Timeline

Published
Jul 26, 2026 15:16
Modified
Oct 24, 2026 13:10
Last observed
Oct 24, 2026 12:59

CWE

CWE-79

Affected product identifiers

cpe:2.3:a:notegen:notegen:*:*:*:*:*:*:*:*

References