Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 76%

CVE-2026-17496: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in codexu NoteGen

0
High
VulnerabilityCVE-2026-17496cvecve-2026-17496cwe-79
Published: 07/26/2026 (07/26/2026, 14:33:02 UTC)
Source: CVE Database V5
Vendor/Project: codexu
Product: NoteGen

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.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →cve
note-gen
pkg:github/note-gen
Affected versions
<0.32.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/02/2026, 21:08:56 UTC

Technical Analysis

CVE-2026-17496 is a high-severity cross-site scripting vulnerability in codexu NoteGen before version 0.32.0. The vulnerability arises because AI chat responses are rendered using markdown-it with html:true enabled and injected into the DOM via dangerouslySetInnerHTML in the chat-preview component without any HTML sanitization. Additionally, the Content Security Policy is set to null, providing no protection. An attacker can supply malicious content that influences the AI model prompt (e.g., via a crafted skill REFERENCE.md) to produce executable HTML markup such as an img tag with an onerror handler. When the user views the chat response, this markup executes JavaScript in the privileged Tauri webview, enabling arbitrary script execution within the application context.

Potential 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.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
JFROG
Date Reserved
2026-07-26T14:28:45.607Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a661f359c2644c7f8ea0a92

Added to database: 07/26/2026, 14:52:37 UTC

Last enriched: 08/02/2026, 21:08:56 UTC

Last updated: 09/08/2026, 01:01:59 UTC

Views: 118

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses