GitHub Advisory Database
GHSA-qghr-877h-f9jh
markdown-pdf vulnerable to local file read via server side cross-site scripting (XSS)
Details
markdown-pdf version 11.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the Markdown content entered by the user.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | markdown-pdf | All versions up to and including 11.0.0 |