CVE-2022-40277: Input Validation

Published Sep 30, 2022
·
Updated

Joplin version 2.8.8 allows an external attacker to execute arbitrary commands remotely on any client that opens a link in a malicious markdown file, via Joplin. This is possible because the application does not properly validate the schema/protocol of existing links in the markdown file before passing them to the 'shell.openExternal' function.

Other sources

Joplin version 2.8.8 allows an external attacker to execute arbitrary commands remotely on any client that opens a link in a malicious markdown file, via Joplin. This is possible because the application does not properly validate the schema/protocol of existing links in the markdown file before passing them to the shell.openExternal function.

GitHub

Affected Software

8 affected components
npm/joplin<=2.8.8
All of the following
Joplinapp Joplin=2.8.8
Linux Linux kernel
All of the following
Joplinapp Joplin=2.8.8
Canonical Ubuntu Linux=20.04
Joplinapp Joplin=2.8.8
Linux Linux kernel
Canonical Ubuntu Linux=20.04

Event History

Sep 30, 2022
CVE Published
via MITRE·04:20 PM
Data Sourced
via MITRE·04:20 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Oct 1, 2022
Advisory Published
via GitHub·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-40277?

CVE-2022-40277 is a vulnerability in Joplin version 2.8.8 that allows an external attacker to execute arbitrary commands remotely on any client that opens a link in a malicious markdown file.

2

How does CVE-2022-40277 work?

CVE-2022-40277 works by exploiting the lack of proper validation of the schema/protocol of existing links in markdown files opened in Joplin, allowing an attacker to execute arbitrary commands remotely.

3

What is the severity of CVE-2022-40277?

The severity of CVE-2022-40277 is high, with a CVSS score of 7.8.

4

Which software versions are affected by CVE-2022-40277?

Joplin version 2.8.8 is affected by CVE-2022-40277.

5

How can I fix CVE-2022-40277?

To fix CVE-2022-40277, it is recommended to update Joplin to a version that includes the necessary security patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203