{"id":"CVE-2023-45673","state":"PUBLISHED","title":"Arbitrary code execution on click of PDF links in Joplin","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.","publishedAt":"2024-06-21T19:38:22.764Z","updatedAt":"2024-08-02T20:21:16.844Z","severity":{"score":8.9,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["laurent22 joplin"],"affected":[{"vendor":"laurent22","product":"joplin","versions":[{"version":"< 2.13.3","status":"affected"}]}],"references":["https://github.com/laurent22/joplin/security/advisories/GHSA-g8qx-5vcm-3x59","https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/45xxx/CVE-2023-45673.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-45673","state":"PUBLISHED","datePublished":"2024-06-21T19:38:22.764Z","dateUpdated":"2024-08-02T20:21:16.844Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-10-10T14:36:40.861Z"},"containers":{"cna":{"title":"Arbitrary code execution on click of PDF links in Joplin","descriptions":[{"lang":"en","value":"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":[{"vendor":"laurent22","product":"joplin","versions":[{"version":"< 2.13.3","status":"affected"}]}],"references":[{"url":"https://github.com/laurent22/joplin/security/advisories/GHSA-g8qx-5vcm-3x59","name":"https://github.com/laurent22/joplin/security/advisories/GHSA-g8qx-5vcm-3x59","tags":["x_refsource_CONFIRM"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox","name":"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.9,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-21T19:38:22.764Z"},"source":{"advisory":"GHSA-g8qx-5vcm-3x59","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"laurent_22","product":"joplin","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.13.3","versionType":"custom"}],"cpes":["cpe:2.3:a:laurent_22:joplin:2.13.3:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-22T16:30:51.519648Z","id":"CVE-2023-45673","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-22T16:33:49.672Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/laurent22/joplin/security/advisories/GHSA-g8qx-5vcm-3x59","name":"https://github.com/laurent22/joplin/security/advisories/GHSA-g8qx-5vcm-3x59","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox","name":"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:21:16.844Z"}}]}}}