logo

CVE-2021-23639 md-to-pdf

Package

Manager: npm
Name: md-to-pdf
Vulnerable Version: >=0 <5.0.0

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.18119 pctl0.94917

Details

Code Injection in md-to-pdf. 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.

Metadata

Created: 2021-12-16T14:34:40Z
Modified: 2021-12-15T15:22:46Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-x949-7cm6-fm6p/GHSA-x949-7cm6-fm6p.json
CWE IDs: ["CWE-94"]
Alternative ID: GHSA-x949-7cm6-fm6p
Finding: F422
Auto approve: 1