{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31876","published":"2026-03-11T19:16:04.140000Z","last_modified":"2026-06-17T10:34:40.833000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:streetwriters:notesnook_desktop:*:*:*:*:*:*:*:*","part":"a","vendor":"streetwriters","product":"notesnook_desktop","version_end_excluding":"3.3.9"},{"criteria":"cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:android:*:*","part":"a","vendor":"streetwriters","product":"notesnook_mobile","version_end_excluding":"3.3.15"},{"criteria":"cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:iphone_os:*:*","part":"a","vendor":"streetwriters","product":"notesnook_mobile","version_end_excluding":"3.3.15"}],"cpes_truncated":false,"vendors":["streetwriters"],"products":["streetwriters/notesnook_desktop","streetwriters/notesnook_mobile"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2026-31876/","html_en":"/en/cve/CVE-2026-31876/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31876","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31876"},"untrusted":{"vendor_name":"Streetwriters","product_name":"Notesnook Desktop","desc_en":"Notesnook is a note-taking app focused on user privacy & ease of use. Prior to 3.3.9, a Stored Cross-Site Scripting (XSS) vulnerability existed in Notesnook's editor embed component when rendering Twitter/X embed URLs. The tweetToEmbed() function in component.tsx interpolated the user-supplied URL directly into an HTML string without escaping, which was then assigned to the srcdoc attribute of an <iframe>. This vulnerability is fixed in 3.3.9.","affected":[{"untrusted_vendor":"streetwriters","untrusted_product":"notesnook","versions":[]}],"references":[{"url":"https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7","tags":["Patch"]},{"url":"https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5","tags":["Vendor Advisory"]}]}}