CVE-2024-49362CWE-94

Remote Code Execution on click of <a> Link in markdown preview

High · published November 14, 2024

CVSS v3.1
7.7
EPSS
1%
Percentile
63.5
In the wild
Unconfirmed
What it is

Joplin is a free, open source note taking and to-do application. Joplin-desktop has a vulnerability that leads to remote code execution (RCE) when a user clicks on an <a> link within untrusted notes. The issue arises due to insufficient sanitization of <a> tag attributes introduced by the Mermaid. This vulnerability allows the execution of untrusted HTML content within the Electron window, which has full access to Node.js APIs, enabling arbitrary shell command execution.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01033 · 63.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-11-14T17:37Z
EPSS history
Timeline
  • 14 NOV 17:37Z
    Remote Code Execution on click of <a> Link in markdown preview
    cvelistv5