CVE-2021-23639GHSA-X949-7CM6-FM6PSNYK-JS-MDTOPDF-1657880
Remote Code Execution (RCE)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.0.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- Record last updated
Affected versions
- n/a md-to-pdf
fixed in 5.0.0
- md-to-pdfnpm
fixed in 5.0.0