CVE-2022-23340: Joplin Vulnerable to Code Injection

joplin Updated 02 Oct 2025

Summary

09/02/2022
Yes i
Critical
9.8

CVE-2022-23340: Joplin Vulnerable to Code Injection. Affects joplin versions < 2.7.1. Fixed in 2.7.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Joplin is an npm package that provides a note-taking and to-do application with synchronization capabilities. It allows users to create, organize, and manage their notes across multiple devices. However, prior to version 2.7.1, Joplin is susceptible to a code injection vulnerability.

Vulnerability Detail

The code injection vulnerability in Joplin allows remote attackers to execute system commands by injecting malicious code into user search results. This can lead to unauthorized access, data leakage, and potential compromise of the affected system. The vulnerability is rated as critical with a CVSS score of 9.8.

How To Fix

Latest published version: 3.7.1 as of 23 Oct 2026

npm install joplin@3.7.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.7.1

This is the first release that contains the fix.

npm install joplin@2.7.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Joplin prior to version 2.7.1 is vulnerable to code injection, which can allow remote attackers to execute system commands. To mitigate this vulnerability, it is crucial to update Joplin to version 2.7.1 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for joplin →

Share this vulnerability

FAQ

This vulnerability allows remote attackers to execute system commands, potentially leading to unauthorized access, data leakage, and compromise of the affected system.

To protect your system, it is recommended to update Joplin to version 2.7.1 or later, as this version includes the necessary patches to mitigate the code injection vulnerability.

At the time of this advisory, there are no known exploits for this vulnerability. However, it is crucial to update Joplin to the latest version to prevent any potential exploitation.

Yes, this vulnerability can be exploited remotely by attackers injecting malicious code into user search results.

Yes, the CVSS score for this vulnerability is 9.8, indicating its critical severity.

Related vulnerabilities

Recent vulnerabilities recorded for joplin.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 3.7.1 as of 23 Oct 2026

npm install joplin@3.7.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.7.1

This is the first release that contains the fix.

npm install joplin@2.7.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback