Skip to main content
← All vulnerabilities
CVE-2021-23639GHSA-X949-7CM6-FM6PSNYK-JS-MDTOPDF-1657880

Remote Code Execution (RCE)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.0
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a md-to-pdf

    fixed in 5.0.0

  • md-to-pdfnpm

    fixed in 5.0.0

References 4

snyk.io

GitHub · simonhaenisch/md-to-pdf

GitHub · MohandAcherir/CVE-2021-23639