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-2020-7639 Vulnerability in npm package @eivifj/dot
CVE-2020-8127 Vulnerability in maven package org.webjars:reveal.js
CVE-2021-21119 Vulnerability in npm package electron
CVE-2020-7661 Vulnerability in maven package org.webjars.npm:url-regex
CVE-2021-21347 Vulnerability in maven package com.thoughtworks.xstream:xstream