Live threats

All CVEs / Markdown-pdf Project

CVE-2018-3770Markdown-pdf Project Markdown-pdf

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Markdown-pdf.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
markdown-pdf_projectmarkdown-pdf< 9.0.0

Official sources

References

Links published by the sources. Open them with care.