Code Injection in md-to-pdf.
Critical severity
GitHub Reviewed
Published
Dec 16, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Dec 10, 2021
Reviewed
Dec 14, 2021
Published to the GitHub Advisory Database
Dec 16, 2021
Last updated
Feb 1, 2023
The package md-to-pdf before 5.0.0 are vulnerable to Remote Code Execution (RCE) due to utilizing the library gray-matter to parse front matter content, without disabling the JS engine.
References