codexu NoteGen up to 0.31.x chat-preview dangerouslySetInnerHTML cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.4 | $0-$5k | 0.67 |
Summary
A vulnerability was found in codexu NoteGen up to 0.31.x. It has been rated as problematic. Affected is the function dangerouslySetInnerHTML of the component chat-preview. The manipulation leads to cross site scripting.
This vulnerability is uniquely identified as CVE-2026-17496. The attack is possible to be carried out remotely. No exploit exists.
Details
A vulnerability was found in codexu NoteGen up to 0.31.x. It has been rated as problematic. This issue affects the function dangerouslySetInnerHTML of the component chat-preview. The manipulation with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. 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. Impacted is integrity. The summary by CVE is:
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).
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-17496 since 07/26/2026. The exploitation is known to be easy. The attack may be initiated remotely. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.
Upgrading to version 0.32.0 eliminates this vulnerability. Applying the patch ae3ba948c41d8a74b4a20f4c6f26fcdda2002298 is able to eliminate this problem.
The vulnerability is also documented in the databases at CNNVD (CNNVD-2026-58159443) and EUVD (EUVD-2026-49055). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
- 0.1
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 0.7
- 0.8
- 0.9
- 0.10
- 0.11
- 0.12
- 0.13
- 0.14
- 0.15
- 0.16
- 0.17
- 0.18
- 0.19
- 0.20
- 0.21
- 0.22
- 0.23
- 0.24
- 0.25
- 0.26
- 0.27
- 0.28
- 0.29
- 0.30
- 0.31
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: NoteGen 0.32.0
Patch: ae3ba948c41d8a74b4a20f4c6f26fcdda2002298
Timeline
07/26/2026 Advisory disclosed07/26/2026 CVE reserved
07/26/2026 VulDB entry created
07/27/2026 VulDB entry last update
Sources
Advisory: github.comStatus: Confirmed
CVE: CVE-2026-17496 (🔒)
GCVE (CVE): GCVE-0-2026-17496
GCVE (VulDB): GCVE-100-383327
EUVD: 🔒
CNNVD: CNNVD-2026-58159443 - codexu NoteGen 跨站脚本漏洞
Entry
Created: 07/26/2026 17:17Updated: 07/27/2026 19:30
Changes: 07/26/2026 17:17 (58), 07/26/2026 17:41 (1), 07/26/2026 19:54 (1), 07/27/2026 19:30 (6)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.