All reports
Critical

Code Injection in md-to-pdf.

Affected versions

Affected versions
< 5.0.0
Fixed version
5.0.0

Exploitation

CVE-2021-23639

Probability of exploitation in the next 30 days: 5.41%

FIRST EPSS · 2026-11-20

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.

Links