CVE-2026-17496

published 26 Jul 2026 · updated 27 Jul 2026

NoteGen chat preview XSS via unsanitized AI/skill HTML rendering

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.32.0.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
codexu<0.32.00.32.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-17496 severity on Zeptric[![CVE-2026-17496](https://zeptric.io/badge/cve/CVE-2026-17496.svg)](https://zeptric.io/cve/CVE-2026-17496)