CVE-2026-17496: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in codexu NoteGen
Affects codexu NoteGenSource CVE Database V5
Not known to be exploited · CVSS 8.1 High.
Data as of 10/24/2026, 22:16:02 UTC
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| codexuNoteGen | Affected
| Fixed in
|
GitHubnote-genpkg:github/note-genOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until an official fix is available, users should avoid loading untrusted or attacker-controlled content that could influence AI model prompts. Implementing proper HTML sanitization on AI chat responses and enforcing a strict Content Security Policy are recommended mitigations once a patch is released.
Description
NoteGen versions prior to 0.32.0 contain a cross-site scripting (XSS) vulnerability due to improper sanitization of AI chat responses rendered with markdown-it configured with html:true. The application injects these responses into the DOM using dangerouslySetInnerHTML without HTML sanitization and with a null Content Security Policy (CSP). Malicious input that reaches the AI model prompt can cause executable HTML markup to be included in the response, leading to arbitrary script execution within the privileged Tauri webview context.
Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript code within the privileged context of the NoteGen application’s Tauri webview. This can lead to compromise of the application, unauthorized actions, data theft, or other malicious activities. The vulnerability requires user interaction (viewing the malicious chat response) but does not require prior privileges or authentication.
Weaknesses
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (opens in a new tab)
Base weaknessLikelihood of exploit: HighCWE Top 25 (2025): #1OWASP Top 10 A05:2025: Injection (opens in a new tab)
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.