Arbitrary Code Injection Affecting @joplin/lib package, versions <3.2.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-JOPLINLIB-8501566
  • published13 Dec 2024
  • disclosed14 Nov 2024
  • creditjackfromeast

Introduced: 14 Nov 2024

CVE-2024-49362  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade @joplin/lib to version 3.2.2 or higher.

Overview

@joplin/lib is a joplin core library.

Affected versions of this package are vulnerable to Arbitrary Code Injection due to improper sanizitazion by Mermaid integration in <a> tags markdown previews. An attacker can execute arbitrary code, allowing execution within the Electron window with full Node.js API access.

References

CVSS Scores

version 4.0
version 3.1