Skip to content

CVE-2021-23639 Remote Code Execution (RCE)

CriticalCVSS 9.8 EPSS 5.4%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
markdown to pdf project markdown to pdf < 5.0.0 5.0.0 Fixed
npm md-to-pdf(npm) < 5.0.0 5.0.0 Fixed

Affected products

ProductAffected versionsFixed in
npm md-to-pdf(npm) < 5.0.0 5.0.0
markdown to pdf project markdown to pdf < 5.0.0 5.0.0

References