CVE-2026-17496: NoteGen - Stored XSS
- Cve: CVE-2026-17496
- Name: NoteGen - Stored XSS
- 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).
- Impact: Attackers can execute arbitrary scripts in the application context, potentially leading to full compromise of the application.
- Remediation: Update to version 0.32.0 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirements: Attacker needs to control content reaching the model prompt
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Epss score: 0.00547
- Epss percentile: 0.46487
- Assignee: [email protected]
- Published at: 2026-07-26T15:16:27Z
- Age in days: 121
- Modified at: 2026-10-24T13:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-17496
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| notegen:notegen | < 0.32.0 | no | nvd | /v1/products/notegen/notegen |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| codexu/note-gen | commit, releases | yes | /v1/repositories/codexu/note-gen |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts