PT-2021-15541
CVE-2021-23639
·
Published
2021-12-10
·
Updated
2021-12-16
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
md-to-pdf versions prior to 5.0.0
Description
The issue allows for Remote Code Execution (RCE) due to the utilization of the gray-matter library to parse front matter content without disabling the JS engine.
Recommendations
For versions prior to 5.0.0, update to version 5.0.0 or later to resolve the issue. As a temporary workaround, consider disabling the use of the gray-matter library until a patch is available. Restrict access to the md-to-pdf package to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾