Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.2
CVE-2023-38506: Cross-site Scripting (XSS) when pasting HTML into the rich text editor in Joplin
CVE-2023-38506 · published 2 years ago
Summary
Joplin is a free, open source note taking and to-do application. A Cross-site Scripting (XSS) vulnerability allows pasting untrusted data into the rich text editor to execute arbitrary code. HTML pasted into the rich text editor is not sanitized (or not sanitized properly). As such, the `onload` att...
What to do
- Update joplin_project joplin to version 2.12.10 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| joplin_project | joplin |
< 2.12.10 cpe:2.3:a:joplin_project:joplin:*:*:*:*:*:-:*:* |
Original advisory text
Cross-site Scripting (XSS) when pasting HTML into the rich text editor in Joplin
Joplin is a free, open source note taking and to-do application. A Cross-site Scripting (XSS) vulnerability allows pasting untrusted data into the rich text editor to execute arbitrary code. HTML pasted into the rich text editor is not sanitized (or not sanitized properly). As such, the `onload` attribute of pasted images can execute arbitrary code. Because the TinyMCE editor frame does not use the `sandbox` attribute, such scripts can access NodeJS's `require` through the `top` variable. From this, an attacker can run arbitrary commands. This issue has been addressed in version 2.12.10 and users are advised to upgrade. There are no known workarounds for this vulnerability.
References
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
8.2
High
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published21 Jun 2024
Updated4 Nov 2026
First seen29 Sep 2026
Track software like this
Free during beta