CVE-2021-23639

CRITICAL9.8EPSS 19.9%

Code Injection in md-to-pdf.

Published: 12/16/2021Modified: 3/13/2026
Also known as:GHSA-x949-7cm6-fm6p

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.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (5)