Vulnerability Description
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).
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/codexu/note-gen
- https://github.com/codexu/note-gen/commit/ae3ba948c41d8a74b4a20f4c6f26fcdda20022
- https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0
FAQ
What is CVE-2026-17496?
CVE-2026-17496 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 an...
How severe is CVE-2026-17496?
CVE-2026-17496 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-17496?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.