CVE-2019-15138Html-pdf Project Html-pdf
High 7.5 No auth needed
Follow: this CVE · Html-pdf Project · Html-pdf Project Html-pdf We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Sep 20, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-668
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
The html-pdf package 2.2.0 for Node.js has an arbitrary file read vulnerability via an HTML file that uses XMLHttpRequest to access a file:/// URL.
What to do
- Apply the vendor's security update for Html-pdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | html-pdf |
< 3.0.1 |
3.0.1 |
npm install html-pdf@3.0.1 |
Per OSV / GitHub Advisories (GHSA-x4w5-r546-x9qh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| html-pdf_project | html-pdf | < 3.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- security.netapp.com Third Party Advisory
- www.npmjs.com Exploit Third Party Advisory