Vulnerability · Published Jun 21, 2024 · Assigned by GitHub_M
CVE-2023-45673Arbitrary code execution on click of PDF links in Joplin
High 8.9
In plain English
A high-severity code injection in joplin from laurent22. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).
Official description
Joplin is a free, open source note taking and to-do application. A remote code execution (RCE) vulnerability in affected versions allows clicking on a link in a PDF in an untrusted note to execute arbitrary shell commands. Clicking links in PDFs allows for arbitrary code execution because Joplin desktop: 1. has not disabled top redirection for note viewer iframes, and 2. and has node integration enabled. This is a remote code execution vulnerability that impacts anyone who attaches untrusted PDFs to notes and has the icon enabled. This issue has been addressed in version 2.13.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
References
- https://github.com/laurent22/joplin/security/advisories/GHSA-g8qx-5vcm-3x59 x_refsource_CONFIRM
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox x_refsource_MISC