amitmerchant1990/electron-markdownify · Security
Markdownify has Files or Directories Accessible to External Parties
- GHSA ID
- GHSA-qqhf-xfhw-7884
- CVE ID
- CVE-2022-41710
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CVSS v3
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
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.
CWEs
- CWE-552 · Files or Directories Accessible to External Parties