Arbitrary File Read Affecting electron-markdownify package, versions *


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.08% (35th 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 File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRONMARKDOWNIFY-3104595
  • published4 Nov 2022
  • disclosed4 Nov 2022
  • creditCarlos Bello

Introduced: 4 Nov 2022

CVE-2022-41710  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for electron-markdownify.

Overview

electron-markdownify is a minimalist Markdown Editor

Affected versions of this package are vulnerable to Arbitrary File Read due to allowing an external attacker to remotely obtain arbitrary local files on any client that attempts to view a malicious markdown file through Markdownify. This is possible because the application does not have a CSP policy (or at least not strict enough) and/or does not properly validate the contents of markdown files before rendering them.

References

CVSS Scores

version 3.1