CVE-2018-3770 json
Remote Code Execution in markdown-pdf
published 2018-07-20 8 y ago modified 2026-06-17 4 mo ago also GHSA-p7c9-jqhq-vr3v , EUVD-2018-0300
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm markdown-pdf 9.0.0
- markdown-pdf_project markdown-pdf 9.0.0
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- hackerone.com https://hackerone.com/reports/360727 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | markdown-pdf | <9.0.0 |
9.0.0 |
Affected products
- HackerOne markdown-pdf
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
hackerone.com
/reports/360727
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-3770
advisory
-
github.com
/advisories/GHSA-p7c9-jqhq-vr3v
advisory
-
npmjs.com
/advisories/991
web
Sources
- CVE List CVE-2018-3770
- GitHub Advisory GHSA-p7c9-jqhq-vr3v
- NVD CVE-2018-3770
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.