CVE-2026-17496

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

Configuration 1 (hide)

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

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) NoteGen antes de la versión 0.32.0 renderiza las respuestas del chat de IA con markdown-it configurado con html:true e inyecta el resultado en el DOM a través de dangerouslySetInnerHTML en chat-preview, sin saneamiento de HTML y con CSP establecido en null. Contenido controlado por el atacante que llega al prompt del modelo (por ejemplo, un REFERENCE.md de habilidad malicioso que instruye al modelo a emitir HTML) puede hacer que la respuesta del modelo incluya marcado ejecutable como un gestor img onerror. Cuando el usuario ve la respuesta del chat, ese marcado se ejecuta como JavaScript en la webview privilegiada de Tauri, permitiendo la ejecución arbitraria de scripts en el contexto de la aplicación (cross-site scripting).

Information

Published : 2026-07-26 15:16

Updated : 2026-10-24 13:10


NVD link : CVE-2026-17496

Mitre link : CVE-2026-17496

CVE.ORG link : CVE-2026-17496


JSON object : View

Products Affected

notegen

  • notegen
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')