The html-pdf package 2.2.0 for Node.js has an arbitrary file read vulnerability via an…
Priority LOW 36CWE-668Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure, Cross-site scripting
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-668, CWE-79 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.01832 79th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed html-pdf (npm): 3.0.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | html-pdf (npm) | before 3.0.1 | 3.0.1 | Patch available | GHSA-x4w5-r546-x9qh |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- html-pdf (npm) Vendor— Affected before 3.0.1 Fixed in 3.0.1 Patch available GHSA-x4w5-r546-x9qh
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:html-pdf_project:html-pdf:*:*:*:*:*:node.js:*:* | before 3.0.1 | Vulnerable | Html-pdf Project |
- cpe:2.3:a:html-pdf_project:html-pdf:*:*:*:*:*:node.js:*:* Versions before 3.0.1 Vulnerable ·Html-pdf Project
Remediation
- Fix · GHSA-x4w5-r546-x9qh html-pdf (npm) Fixed in 3.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-15138
- 2026-10-03 Alias added: GHSA-x4w5-r546-x9qh
References
Advisory 2
Other 6
- https://github.com/marcbachmann/node-html-pdf/issues/530
- https://github.com/marcbachmann/node-html-pdf/issues/530#issuecomment-535045123
- https://github.com/marcbachmann/node-html-pdf/commit/c12d6977778014139183c9f8da7579fd7ac65362
- https://github.com/marcbachmann/node-html-pdf
- https://github.com/marcbachmann/node-html-pdf/releases/tag/v3.0.1
- https://security.netapp.com/advisory/ntap-20191017-0005
Sources
- CVE-2019-15138 · CVE Program
- CVE-2019-15138 · NVD
- FIRST EPSS
- GHSA-x4w5-r546-x9qh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences