Skip to main content
CVE-2026-17496VulnerabilityPublished 07/26/2026Updated 07/27/2026

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

0

Not known to be exploited · CVSS 8.1 High.

Data as of 10/24/2026, 22:16:02 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Affected software

ProductAffectedFixed in
codexuNoteGenAffected
  • <0.32.0
Fixed in
  • 0.32.0
GitHubnote-genpkg:github/note-genOther threatsAffected
  • <0.32.0
Fixed in
  • 0.32.0

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

References

Community reviews

Loading reviews…