Notesnook: RCE via stored XSS in note export rendering
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| streetwriters | notesnook | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Streetwriters | Notesnook |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.477% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Streetwriters notesnook Desktop
Streetwriters notesnook Mobile |
|
| CPEs | cpe:2.3:a:streetwriters:notesnook_desktop:*:*:*:*:*:*:*:* cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:android:*:* cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:iphone_os:*:* |
|
| Vendors & Products |
Streetwriters notesnook Desktop
Streetwriters notesnook Mobile |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Streetwriters
Streetwriters notesnook |
|
| Vendors & Products |
Streetwriters
Streetwriters notesnook |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Notesnook is a note-taking app focused on user privacy & ease of use. Prior to Notesnook Web/Desktop version 3.3.15 and prior to Notesnook iOS/Android version 3.3.20, a stored XSS vulnerability in the note export flow can be escalated to remote code execution in the desktop app. The root cause is that exported note fields such as title, headline, and content are inserted into the generated HTML template without HTML escaping. When the note is later exported to PDF, Notesnook renders that HTML into a same-origin, unsandboxed iframe using iframe.srcdoc = .... Injected script executes in the Notesnook origin. In the desktop app, this becomes RCE because Electron is configured with nodeIntegration: true and contextIsolation: false. This issue has been patched in Notesnook Web/Desktop version 3.3.15 and Notesnook iOS/Android version 3.3.20. | |
| Title | Notesnook: RCE via stored XSS in note export rendering | |
| Weaknesses | CWE-79 CWE-94 |
|
| References |
| |
| Metrics |
cvssV3_1
|