# CVE-2019-15138: Arbitrary File Read in html-pdf

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.83%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-09-20T19:13:13.000Z
- Modified: 2026-06-17T02:19:46.663Z
- Also known as: GHSA-x4w5-r546-x9qh
- Weaknesses: CWE-73, CWE-79, CWE-200, CWE-668
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- html-pdf (npm): before 3.0.1
- html-pdf_project html-pdf: before 3.0.1

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://www.npmjs.com/advisories/1095> (exploit, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20191017-0005/> (third-party-advisory)
- <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)
- <https://security.netapp.com/advisory/ntap-20191017-0005> (web)

## Sources

- CVE List: [CVE-2019-15138](https://www.cve.org/CVERecord?id=CVE-2019-15138), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-x4w5-r546-x9qh](https://github.com/advisories/GHSA-x4w5-r546-x9qh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-15138](https://nvd.nist.gov/vuln/detail/CVE-2019-15138), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-15138 · Whole record: https://cve.day/CVE-2019-15138.json · Rebuilt by cve.day 2026-11-25T22:57:47.057Z
