Skip to content
HighVulnerabilityLLM-specific

CVE-2026-17496: NoteGen cross-site scripting through AI chat response rendering

Identifier
CVE-2026-17496
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

NoteGen versions before 0.32.0 render AI chat responses with markdown-it set to html:true and insert the output into the DOM via dangerouslySetInnerHTML in chat-preview, with no HTML sanitization and CSP set to null. Attacker-controlled content reaching the model prompt, such as a malicious skill REFERENCE.md instructing the model to emit HTML, can make the response include executable markup like an img onerror handler. When a user views the response, the markup runs as JavaScript in the privileged Tauri webview.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.