NetSight
critical9.8

CVE-2021-23639

Code Injection in md-to-pdf.

Impact

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 packages

EcosystemPackageAffectedFixed in
npmmd-to-pdf< 5.0.05.0.0

Affected products

VendorProductAffected versions
Markdown To Pdf ProjectMarkdown To Pdf
before 5.0.0

Weakness classification

References