All CVEs / Markdown-pdf Project
CVE-2018-3770Markdown-pdf Project Markdown-pdf
Medium 5.5
Follow: this CVE · Markdown-pdf Project · Markdown-pdf Project Markdown-pdf We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- Yes
- Published
- Jul 20, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
A path traversal exists in markdown-pdf version <9.0.0 that allows a user to insert a malicious html code that can result in reading the local files.
What to do
- Apply the vendor's security update for Markdown-pdf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | markdown-pdf |
< 9.0.0 |
9.0.0 |
npm install markdown-pdf@9.0.0 |
Per OSV / GitHub Advisories (GHSA-p7c9-jqhq-vr3v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| markdown-pdf_project | markdown-pdf | < 9.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- hackerone.com Exploit Third Party Advisory