CVE-2023-39517
CVE-2023-39517 is a high-severity vulnerability in Joplin Project Joplin with a CVSS 3.x base score of 8.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: High (CVSS 3.x base score 8.2)
- EPSS exploit prediction: 0% (38th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2023-43239
- Weakness: CWE-79
- Affected product: Joplin Project Joplin
- Published:
- Last modified:
Description
Joplin is a free, open source note taking and to-do application. A Cross site scripting (XSS) vulnerability in affected versions allows clicking on an untrusted image link to execute arbitrary shell commands. The HTML sanitizer (`packages/renderer/htmlUtils.ts::sanitizeHtml`) preserves `<map>` `<area>` links. However, unlike `<a>` links, the `target` and `href` attributes are not removed. Additionally, because the note preview pane isn't sandboxed to prevent top navigation, links with `target` set to `_top` can replace the toplevel electron page. Because any toplevel electron page, with Joplin's setup, has access to `require` and can require node libraries, a malicious replacement toplevel page can import `child_process` and execute arbitrary shell commands. This issue has been fixed in commit 7c52c3e9a81a52ef1b42a951f9deb9d378d59b0f which is included in release version 2.12.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Frequently asked questions
- What is CVE-2023-39517?
- Joplin is a free, open source note taking and to-do application. A Cross site scripting (XSS) vulnerability in affected versions allows clicking on an untrusted image link to execute arbitrary shell commands. The HTML sanitizer (`packages/renderer/htmlUtils.ts::sanitizeHtml`) preserves `<map>` `<area>` links. However, unlike `<a>` links, the `target` and `href` attributes are not removed. Additionally, because the note preview pane isn't sandboxed to prevent top navigation, links with `target` set to `_top` can replace the toplevel electron page. Because any toplevel electron page, with Joplin's setup, has access to `require` and can require node libraries, a malicious replacement toplevel page can import `child_process` and execute arbitrary shell commands. This issue has been fixed in commit 7c52c3e9a81a52ef1b42a951f9deb9d378d59b0f which is included in release version 2.12.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- How severe is CVE-2023-39517?
- CVE-2023-39517 has a CVSS 3.x base score of 8.2, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity low, and availability low.
- Is CVE-2023-39517 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (38th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-39517?
- CVE-2023-39517 affects Joplin Project Joplin. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-39517?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2023-39517 have an EU (EUVD) identifier?
- Yes. CVE-2023-39517 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2023-43239.
- When was CVE-2023-39517 published?
- CVE-2023-39517 was published on 2024-06-21 and last updated on 2026-06-17.
References
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox
- https://github.com/laurent22/joplin/commit/7c52c3e9a81a52ef1b42a951f9deb9d378d59b0f
- https://github.com/laurent22/joplin/security/advisories/GHSA-2h88-m32f-qh5m
Affected products (1)
- cpe:2.3:a:joplin_project:joplin:*:*:*:*:*:-:*:*
More vulnerabilities in Joplin Project Joplin
- CVE-2022-23340 — Critical (CVSS 9.8): Joplin 2.6.10 allows remote attackers to execute system commands through malicious code in user search results.
- CVE-2024-40643 — Critical (CVSS 9.6): Joplin is a free, open source note taking and to-do application. Joplin fails to take into account that "<" followed by…
- CVE-2023-45673 — High (CVSS 8.9): Joplin is a free, open source note taking and to-do application. A remote code execution (RCE) vulnerability in…
- CVE-2025-27134 — High (CVSS 8.8): Joplin is a free, open source note taking and to-do application, which can handle a large number of notes organised…
- CVE-2023-38506 — High (CVSS 8.2): Joplin is a free, open source note taking and to-do application. A Cross-site Scripting (XSS) vulnerability allows…
- CVE-2023-37898 — High (CVSS 8.2): Joplin is a free, open source note taking and to-do application. A Cross-site Scripting (XSS) vulnerability allows an…
All CVEs affecting Joplin Project Joplin →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →