Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
md-to-pdfunspecified – < 5.0.05.0.0CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
snyk (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

refsnyk.io/vuln/SNYK-JS-MDTOPDF-1657880refgithub.com/simonhaenisch/md-to-pdf/issues/99refgithub.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a