Description
Markdownify version 1.4.1 allows 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.
Remediation
References
https://fluidattacks.com/advisories/noisestorm/
https://github.com/amitmerchant1990/electron-markdownify
Related Vulnerabilities
CVE-2022-38545 Vulnerability in npm package valine
CVE-2020-7760 Vulnerability in maven package org.apache.marmotta.webjars:codemirror
CVE-2020-8929 Vulnerability in maven package com.google.crypto.tink:tink
CVE-2021-23445 Vulnerability in npm package datatables.net
CVE-2018-16330 Vulnerability in maven package org.webjars.bower:editor.md