NoteGen chat preview XSS via unsanitized AI/skill HTML rendering
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| codexu | NoteGen | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Codexu | Notegen |
|
Vendor Solution
Upgrade to NoteGen 0.32.0 or later. The fix replaces unsanitized markdown-it HTML injection in chat preview with Streamdown-based rendering that hardens/sanitizes untrusted HTML in model output.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.547% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Notegen
Notegen notegen |
|
| CPEs | cpe:2.3:a:notegen:notegen:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Notegen
Notegen notegen |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Codexu
Codexu notegen |
|
| Vendors & Products |
Codexu
Codexu notegen |
| Type | Values Removed | Values Added |
|---|---|---|
| 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). | |
| Title | NoteGen chat preview XSS via unsanitized AI/skill HTML rendering | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|