{"id":"CVE-2026-31876","sourceIdentifier":"security-advisories@github.com","published":"2026-03-11T19:16:04.140","lastModified":"2026-06-17T10:34:40.833","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Notesnook es una aplicación para tomar notas centrada en la privacidad del usuario y la facilidad de uso. Previo a la 3.3.9, existía una vulnerabilidad de cross-site scripting (XSS) almacenado en el componente de incrustación del editor de Notesnook al renderizar URLs de incrustación de Twitter/X. La función tweetToEmbed() en component.tsx interpolaba la URL proporcionada por el usuario directamente en una cadena HTML sin escapar, la cual se asignaba luego al atributo srcdoc de un . Esta vulnerabilidad está corregida en la versión 3.3.9."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"streetwriters","product":"notesnook","versions":[{"version":"< 3.3.9","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:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-03-12T20:08:06.045805Z","id":"CVE-2026-31876","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:streetwriters:notesnook_desktop:*:*:*:*:*:*:*:*","versionEndExcluding":"3.3.9","matchCriteriaId":"8756DA11-54F2-4580-80D6-B66BDD875599"},{"vulnerable":true,"criteria":"cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:android:*:*","versionEndExcluding":"3.3.15","matchCriteriaId":"D6F019A8-553F-4070-8235-F57DC7A489F4"},{"vulnerable":true,"criteria":"cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:iphone_os:*:*","versionEndExcluding":"3.3.15","matchCriteriaId":"5EFF2675-83AD-4E81-9DDC-A1706C799A00"}]}]}],"references":[{"url":"https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}