ADVISORIES

GitHub Advisory Database

GHSA-x949-7cm6-fm6p

Code Injection in md-to-pdf.

Details

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

EcosystemPackageAffected versions
npmmd-to-pdf
All versions before 5.0.0 (fixed in 5.0.0)

References