CVE-2018-3770
UNKNOWN
Published 2018-07-20T22:00:00Z
Actions:
Expert Analysis
Professional remediation guidance
Get tailored security recommendations from our analyst team for CVE-2018-3770. We'll provide specific mitigation strategies based on your environment and risk profile.
No CVSS data available
Description
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.
Available Exploits
No exploits available for this CVE.
Related News
No news articles found for this CVE.
Affected Products
Affected Versions:
GitHub Security Advisories
Community-driven vulnerability intelligence from GitHub
Advisory Details
Versions of `markdown-pdf` prior to 9.0.0 are vulnerable to Remote Code Execution. The package fails to sanitize HTML code in markdown files. If markdown files with malicious HTML are converted to PDF, the resulting PDF file will execute any JavaScript code in the original markdown file. This may allow attackers to execute Remote Code.
## Recommendation
Upgrade to version 9.0.0 or later.
Affected Packages
npm
markdown-pdf
ECOSYSTEM:
≥0
<9.0.0
CVSS Scoring
CVSS Score
5.0
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
Advisory provided by GitHub Security Advisory Database. Published: July 27, 2018, Modified: March 1, 2023
References
Published: 2018-07-20T22:00:00Z
Last Modified: 2024-09-16T16:42:35.385Z
Copied to clipboard!