CVE-2026-17496
published high CVSS 3.1 · 8.1NoteGen chat preview XSS via unsanitized AI/skill HTML rendering
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| codexu | — | note-genNoteGen · 0 to < 0.32.0 · Other versions: unaffected | Affected | Not stated | JFROG |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| codexu | NoteGen | 0 to < 0.32.0 (affected · semver)Default: unaffected | JFROG · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- NoteGen repository https://github.com/codexu/note-gen
- Fix: chat rendering moved to Streamdown https://github.com/codexu/note-gen/commit/ae3ba948c41d8a74b4a20f4c6f26fcdda2002298
- NoteGen v0.32.0 release https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0
Provider assertions
2JFROG · cna
NoteGen chat preview XSS via unsanitized AI/skill HTML rendering
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 530073bd9c62ecae5cc074028b6baf2e4965d3dfc4740d0ec5e53c8e50c65d14
- Ingested
- 23 Sep 2026, 09:03:03 UTC
- Source record
- Official CVE record