CVE-2026-17496
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).
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Puntuación base: 8.1
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.55%
- Percentil entre todas las CVEs puntuadas: 44
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1189Drive-by Compromiseinitial access95 % - Impacto principal
T1059.007JavaScriptexecution95 % - Impacto secundario
T1005Data from Local Systemcollection70 %
XSS (CWE-79) con markdown-it html:true e inyección en DOM via dangerouslySetInnerHTML sin sanitización. Usuario visualiza respuesta que ejecuta JavaScript en contexto Tauri. CSP:null y acceso a datos de la aplicación.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-79
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-17496",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-17496",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-07-27T14:44:36.321556Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "reefs@jfrog.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.2,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "reefs@jfrog.com",
"affectedData": [
{
"repo": "git://github.com/codexu/note-gen",
"vendor": "codexu",
"product": "NoteGen",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.32.0",
"versionType": "semver"
}
],
"packageName": "note-gen",
"programFiles": [
"src/app/core/main/chat/chat-preview.tsx"
],
"collectionURL": "https://github.com/codexu/note-gen",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-07-26T15:16:27.710",
"references": [
{
"url": "https://github.com/codexu/note-gen",
"tags": [
"Product"
],
"source": "reefs@jfrog.com"
},
{
"url": "https://github.com/codexu/note-gen/commit/ae3ba948c41d8a74b4a20f4c6f26fcdda2002298",
"tags": [
"Patch"
],
"source": "reefs@jfrog.com"
},
{
"url": "https://github.com/codexu/note-gen/releases/tag/note-gen-v0.32.0",
"tags": [
"Product",
"Release Notes"
],
"source": "reefs@jfrog.com"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "reefs@jfrog.com",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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)."
}
],
"lastModified": "2026-08-25T15:30:20.430",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:notegen:notegen:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5F83DD43-1270-4565-A7C2-571006205DDC",
"versionEndExcluding": "0.32.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "reefs@jfrog.com"
}