CVE-2019-15138
HIGH 7.5CVSS 3.1Arbitrary File Read in html-pdf
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.
- Published
- 20 Sep 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-200CWE-668CWE-73CWE-79
- Also known as
- GHSA-x4w5-r546-x9qh
- Sources
- NVDJSONOSV GHSA-x4w5-r546-x9qhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | html-pdf_project | html-pdfcpe:2.3:a:html-pdf_project:html-pdf:*:*:*:*:*:node.js:*:* |
< 3.0.1 | 3.0.1 |
| OSV | npm | html-pdf | < 3.0.1 | 3.0.1 |
References
- https://security.netapp.com/advisory/ntap-20191017-0005/ · Third Party Advisory, WEB
- https://www.npmjs.com/advisories/1095 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-15138 · ADVISORY
- https://github.com/marcbachmann/node-html-pdf/issues/530 · WEB
- https://github.com/marcbachmann/node-html-pdf/issues/530#issuecomment-535045123 · WEB
- https://github.com/marcbachmann/node-html-pdf/commit/c12d6977778014139183c9f8da7579fd7ac65362 · WEB
- https://github.com/marcbachmann/node-html-pdf · WEB
- https://github.com/marcbachmann/node-html-pdf/releases/tag/v3.0.1 · WEB
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 20 Sep 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Oct 2019)