CVE-2026-17496CWE-79cross-site-scripting

CVE-2026-17496

High · published July 26, 2026

CVSS v3.1
8.1
EPSS
1%
Percentile
45.1
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00547 · 45.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-07-26T19:16Z
Affected products (1)
ProductVersionsFixed in
notegen/notegen< 0.32.00.32.0
References (3)
EPSS history
Timeline
  • 26 JUL 14:33Z
    NoteGen chat preview XSS via unsanitized AI/skill HTML rendering
    cvelistv5