{"id":"CVE-2026-40262","sourceIdentifier":"security-advisories@github.com","published":"2026-04-17T01:17:39.950","lastModified":"2026-10-26T21:10:00.170","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"Note Mark is an open-source note-taking application. In versions 0.19.1 and prior, the asset delivery handler serves uploaded files inline and relies on magic-byte detection for content type, which does not identify text-based formats such as HTML, SVG, or XHTML. These files are served with an empty Content-Type, no X-Content-Type-Options: nosniff header, and inline disposition, allowing browsers to sniff and render active content. An authenticated user can upload an HTML or SVG file containing JavaScript as a note asset, and when a victim navigates to the asset URL, the script executes under the application's origin with access to the victim's authenticated session and API actions. This issue has been fixed in version 0.19.2."},{"lang":"es","value":"Note Mark es una aplicación de código abierto para tomar notas. En las versiones 0.19.1 y anteriores, el gestor de entrega de activos sirve los archivos subidos en línea y se basa en la detección de bytes mágicos para el tipo de contenido, lo que no identifica formatos basados en texto como HTML, SVG o XHTML. Estos archivos se sirven con un Content-Type vacío, sin encabezado X-Content-Type-Options: nosniff y disposición en línea, lo que permite a los navegadores inferir y renderizar contenido activo. Un usuario autenticado puede subir un archivo HTML o SVG que contenga JavaScript como un activo de nota, y cuando una víctima navega a la URL del activo, el script se ejecuta bajo el origen de la aplicación con acceso a la sesión autenticada de la víctima y a las acciones de la API. Este problema ha sido corregido en la versión 0.19.2."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"enchant97","product":"note-mark","versions":[{"version":"< 0.19.2","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","baseScore":8.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":5.8}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-18T02:50:12.436241Z","id":"CVE-2026-40262","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"},{"lang":"en","value":"CWE-434"}]}],"references":[{"url":"https://github.com/enchant97/note-mark/commit/6bb62842ccb956870b9bf183629eba95e326e5e3","source":"security-advisories@github.com"},{"url":"https://github.com/enchant97/note-mark/releases/tag/v0.19.2","source":"security-advisories@github.com"},{"url":"https://github.com/enchant97/note-mark/security/advisories/GHSA-9pr4-rf97-79qh","source":"security-advisories@github.com"}]}