Vulnerabilities > CVE-2021-23639 - Unspecified vulnerability in Markdown to PDF Project Markdown to PDF
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH 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.
Vulnerable Configurations
References
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8a
- https://github.com/simonhaenisch/md-to-pdf/issues/99
- https://github.com/simonhaenisch/md-to-pdf/issues/99
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880