Live threats

All CVEs / Html-pdf Project

CVE-2019-15138Html-pdf Project Html-pdf

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Html-pdf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

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

VendorProductVersions
html-pdf_projecthtml-pdf< 3.0.1

Official sources

References

Links published by the sources. Open them with care.