VulnerabilityModified
CVE-2021-23639
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.
CRITICAL 9.8EPSS 5.33%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.33%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 5.33% probability · 92th percentile
- CISA KEV
- Not listed
- Affected
- markdown to pdf project/markdown to pdf
- Source
- report@snyk.io
References
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8aPatch, Third Party Advisory
- https://github.com/simonhaenisch/md-to-pdf/issues/99Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880Exploit, Patch, Third Party Advisory
- https://github.com/simonhaenisch/md-to-pdf/commit/a716259c548c82fa1d3b14a3422e9100619d2d8aPatch, Third Party Advisory
- https://github.com/simonhaenisch/md-to-pdf/issues/99Exploit, Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MDTOPDF-1657880Exploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.