NoteGen chat preview XSS via unsanitized AI/skill HTML rendering
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA NoteGen (codexu) Fixed in 0.32.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
codexu NoteGen — NoteGen v0.32.0 release
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-14355 NoteGen arbitrary OS command execution via Tauri shell:allow-execute for bash/pythonPriority LOW 39
Timeline
- 2026-10-02 Threatist record created from CVE-2026-17496
- 2026-10-03 Alias added: GHSA-gwhc-vprp-gfcg
References
Advisory 1
Other 1
More codexu vulnerabilities
- TI-2026-76441 NoteGen Local File Disclosure via Chat Image Analysis CVSS 4.0LOW 2.1
Sources
- CVE-2026-17496 · CVE Program
- CVE-2026-17496 · NVD
- FIRST EPSS
- GHSA-gwhc-vprp-gfcg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences