CVE Explorer
CVE-2026-31876
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"notesnook","vendor":"streetwriters","versions":[{"status":"affected","version":"< 3.3.9"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7393a8b66c5a24d320b7dfd5dbeb23e3bfe82057b9e85235c82881e61c701a51 · sha256:8e859e3415ab50ad… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7393a8b66c5a24d320b7dfd5dbeb23e3bfe82057b9e85235c82881e61c701a51 · sha256:8e859e3415ab50ad… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7393a8b66c5a24d320b7dfd5dbeb23e3bfe82057b9e85235c82881e61c701a51 · sha256:8e859e3415ab50ad… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7","tags":["x_refsource_MISC"],"url":"https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7393a8b66c5a24d320b7dfd5dbeb23e3bfe82057b9e85235c82881e61c701a51 · sha256:8e859e3415ab50ad… · /containers/cna/references/1
{"name":"https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7393a8b66c5a24d320b7dfd5dbeb23e3bfe82057b9e85235c82881e61c701a51 · sha256:8e859e3415ab50ad… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.