Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron-markdownify
  4. ›
  5. CVE-2022-41709

CVE-2022-41709: Markdownify subject to Remote Code Execution via malicious markdown file

October 19, 2022 (updated May 8, 2025)

Markdownify version 1.4.1 allows an external attacker to execute arbitrary code remotely on any client attempting to view a malicious markdown file through Markdownify. This is possible because the application has the “nodeIntegration” option enabled. There are currently no patched versions and no known workarounds.

References

  • fluidattacks.com/advisories/adams
  • github.com/advisories/GHSA-c942-mfmp-p4fh
  • github.com/amitmerchant1990/electron-markdownify
  • nvd.nist.gov/vuln/detail/CVE-2022-41709

Code Behaviors & Features

Detect and mitigate CVE-2022-41709 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.4.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

npm/electron-markdownify/CVE-2022-41709.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.