CVE-2021-23639
JSON

9.8critical

Remote Code Execution (RCE)

Severity
9.8critical CVSS:3.1 by snyk
Exploit likelihood
5.41% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-x949-7cm6-fm6pSNYK-JS-MDTOPDF-1657880

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.

Affected

Product or packageVersionsReported by
md-to-pdffrom unspecified before 5.0.0CVE List
md-to-pdf (npm)before 5.0.0GitHub Advisory Database
markdown_to_pdf_project markdown_to_pdfbefore 5.0.0NVD

All scores

snyk9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

El paquete md-to-pdf versiones anteriores a 5.0.0, es vulnerable a una Ejecución de Código Remota (RCE) debido al uso de la biblioteca gray-matter para analizar el contenido del front matter, sin deshabilitar el motor JS

References

Sources

SourceRecordLicence
CVE ListCVE-2021-23639 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-x949-7cm6-fm6p changed 2026-07-08CC-BY-4.0
NVDCVE-2021-23639 changed 2026-06-17Public domain