{"cve":"CVE-2026-40262","nvd":{"published":"2026-04-17T01:17:39.950","modified":"2026-10-26T21:10:00.170","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7},"cwes":["CWE-79","CWE-434"],"references":["https://github.com/enchant97/note-mark/commit/6bb62842ccb956870b9bf183629eba95e326e5e3","https://github.com/enchant97/note-mark/releases/tag/v0.19.2","https://github.com/enchant97/note-mark/security/advisories/GHSA-9pr4-rf97-79qh"],"products":[],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-40262","score":0.00309,"percentile":0.23535,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-9pr4-rf97-79qh","url":"https://osv.dev/vulnerability/GHSA-9pr4-rf97-79qh","summary":"Note Mark has Stored XSS via Unrestricted Asset Upload","modified":"2026-06-25T19:56:17.504613861Z","packages":[{"ecosystem":"Go","name":"github.com/enchant97/note-mark/backend","purl":"pkg:golang/github.com/enchant97/note-mark/backend","ranges":["<0.0.0-20260411145018-6bb62842ccb9"],"fixed":["0.0.0-20260411145018-6bb62842ccb9"]}]},{"id":"GO-2026-5295","url":"https://osv.dev/vulnerability/GO-2026-5295","summary":"Note Mark has Stored XSS via Unrestricted Asset Upload in github.com/enchant97/note-mark/backend","modified":"2026-06-25T19:45:27.576612980Z","packages":[{"ecosystem":"Go","name":"github.com/enchant97/note-mark/backend","purl":"pkg:golang/github.com/enchant97/note-mark/backend","ranges":["<0.0.0-20260411145018-6bb62842ccb9"],"fixed":["0.0.0-20260411145018-6bb62842ccb9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}