Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/md-to-pdf@2.8.2 |
| Type | npm |
| Namespace | |
| Name | md-to-pdf |
| Version | 2.8.2 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 5.2.5 |
| Latest_non_vulnerable_version | 5.2.5 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-epy5-zgac-qbeb |
| vulnerability_id |
VCID-epy5-zgac-qbeb |
| summary |
Improper Control of Generation of Code ('Code Injection')
The package md-to-pdf is vulnerable to Remote Code Execution (RCE) due to utilizing the library gray-matter to parse front matter content, without disabling the JS engine. |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2021-23639 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.19908 |
| scoring_system |
epss |
| scoring_elements |
0.95588 |
| published_at |
2026-06-06T12:55:00Z |
|
| 1 |
| value |
0.19908 |
| scoring_system |
epss |
| scoring_elements |
0.95591 |
| published_at |
2026-06-08T12:55:00Z |
|
| 2 |
| value |
0.19908 |
| scoring_system |
epss |
| scoring_elements |
0.9559 |
| published_at |
2026-06-07T12:55:00Z |
|
| 3 |
| value |
0.19908 |
| scoring_system |
epss |
| scoring_elements |
0.95585 |
| published_at |
2026-06-05T12:55:00Z |
|
| 4 |
| value |
0.19908 |
| scoring_system |
epss |
| scoring_elements |
0.95578 |
| published_at |
2026-06-04T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2021-23639 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
|
| fixed_packages |
|
| aliases |
CVE-2021-23639, GHSA-x949-7cm6-fm6p
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-epy5-zgac-qbeb |
|
| 1 |
| url |
VCID-undq-xcm3-uqbu |
| vulnerability_id |
VCID-undq-xcm3-uqbu |
| summary |
md-to-pdf vulnerable to arbitrary JavaScript code execution when parsing front matter
A Markdown front-matter block that contains JavaScript delimiter causes the JS engine in gray-matter library to execute arbitrary code in the Markdown to PDF converter process of **md-to-pdf** library, resulting in remote code execution. |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2025-65108 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56527 |
| published_at |
2026-06-08T12:55:00Z |
|
| 1 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56542 |
| published_at |
2026-06-07T12:55:00Z |
|
| 2 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56553 |
| published_at |
2026-06-06T12:55:00Z |
|
| 3 |
| value |
0.00334 |
| scoring_system |
epss |
| scoring_elements |
0.56547 |
| published_at |
2026-06-05T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2025-65108 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
|
| fixed_packages |
|
| aliases |
CVE-2025-65108, GHSA-547r-qmjm-8hvw
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-undq-xcm3-uqbu |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.5 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/md-to-pdf@2.8.2 |