CVE-2026-17496
Beschrijving NL
NoteGen before 0.32.0 geeft AI-chatreacties weer met markdown-it geconfigureerd met html:true en injecteert het resultaat in de dom via dangerouslySetInnerHTML in chat-preview, zonder HTML-ontsmetting en met CSP ingesteld op null. Door aanvallers gecontroleerde inhoud die de modelprompt bereikt (bijvoorbeeld een kwaadaardige vaardigheid REFERENCE.md die het model instrueert om HTML uit te zenden), kan ervoor zorgen dat de modelreactie uitvoerbare markeringen bevat, zoals een img onerror-handler. Wanneer de gebruiker de chatreactie bekijkt, wordt die opmaak uitgevoerd als JavaScript in de geprivilegieerde Tauri-webweergave, waardoor willekeurige scriptuitvoering in de toepassingscontext mogelijk is (cross-site scripting).
Origineel (Engels) tonen
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).