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.
{
"github_reviewed": true,
"nvd_published_at": "2021-12-10T20:15:00Z",
"cwe_ids": [
"CWE-94"
],
"github_reviewed_at": "2021-12-14T14:31:35Z",
"severity": "CRITICAL"
}