Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. markdown-pdf
  4. ›
  5. CVE-2018-3770

CVE-2018-3770: Path Traversal

July 20, 2018 (updated October 9, 2019)

A path traversal exists in markdown-pdf that allows a user to insert a malicious html code that can result in reading the local files.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-3770

Code Behaviors & Features

Detect and mitigate CVE-2018-3770 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 9.0.0

Fixed versions

  • 9.0.0

Solution

Upgrade to version 9.0.0 or above.

Impact 5.5 MEDIUM

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/markdown-pdf/CVE-2018-3770.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:12 +0000.