Markdownify has Files or Directories Accessible to External Parties
Moderate severity
GitHub Reviewed
Published
Nov 4, 2022
to the GitHub Advisory Database
•
Updated Feb 2, 2023
Description
Published by the National Vulnerability Database
Nov 3, 2022
Published to the GitHub Advisory Database
Nov 4, 2022
Reviewed
Nov 4, 2022
Last updated
Feb 2, 2023
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.
References