CVE Explorer
CVE-2026-17496
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 m
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://github.com/codexu/note-gen","defaultStatus":"unaffected","packageName":"note-gen","product":"NoteGen","programFiles":["src/app/core/main/chat/chat-preview.tsx"],"repo":"git://github.com/codexu/note-gen","vendor":"codexu","versions":[{"lessThan":"0.32.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:07b33e934023fdb432024375ea8752d146afa073ad3a7b4d11a5a7edfe30bd0c · sha256:d860c851c44b4c72… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:07b33e934023fdb432024375ea8752d146afa073ad3a7b4d11a5a7edfe30bd0c · sha256:d860c851c44b4c72… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:07b33e934023fdb432024375ea8752d146afa073ad3a7b4d11a5a7edfe30bd0c · sha256:d860c851c44b4c72… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"NoteGen repository","tags":["product"],"url":"https://github.com/codexu/note-gen"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:07b33e934023fdb432024375ea8752d146afa073ad3a7b4d11a5a7edfe30bd0c · sha256:d860c851c44b4c72… · /containers/cna/references/2
{"name":"Fix: chat rendering moved to Streamdown","tags":["patch"],"url":"https://github.com/codexu/note-gen/commit/ae3ba948c41d8a74b4a20f4c6f26fcdda2002298"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:07b33e934023fdb432024375ea8752d146afa073ad3a7b4d11a5a7edfe30bd0c · sha256:d860c851c44b4c72… · /containers/cna/references/0
{"name":"NoteGen v0.32.0 release","tags":["vendor-advisory"],"url":"https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:07b33e934023fdb432024375ea8752d146afa073ad3a7b4d11a5a7edfe30bd0c · sha256:d860c851c44b4c72… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.