CVE-2026-17496
NoteGen · NoteGen
NoteGen before 0.32.0 is vulnerable to cross-site scripting via unsanitized markdown-it HTML injection in chat previews.
Executive summary
An unauthenticated cross-site scripting vulnerability in NoteGen allows attackers to execute arbitrary scripts in a user's browser, posing a significant risk of session hijacking or data theft.
Vulnerability
The application fails to properly neutralize user-supplied input during web page generation, specifically within the chat preview component. This vulnerability allows an unauthenticated attacker to inject malicious scripts into the interface.
Business impact
Successful exploitation permits attackers to perform actions on behalf of users, potentially leading to unauthorized access to sensitive account information or administrative functions. Given the CVSS score of 8.1, the high potential for impact on confidentiality and integrity necessitates immediate remediation to protect users and maintain application trust.
Remediation
Immediate Action: Upgrade to NoteGen version 0.32.0 or later, which replaces the vulnerable markdown-it rendering with a hardened Streamdown-based implementation.
Proactive Monitoring: Review application logs for unusual patterns in chat inputs or unexpected outbound traffic from client browsers.
Compensating Controls: Implement a Content Security Policy (CSP) to restrict the execution of unauthorized scripts and mitigate the impact of potential injection flaws.
Exploitation status
Public Exploit Available: No (exploit_available: false)
Analyst recommendation
The severity of this vulnerability, combined with the ease of exploitation, requires prompt action. Administrators should verify their current version and apply the 0.32.0 update immediately to neutralize the risk of cross-site scripting attacks.