Vulnerability Details CVE-2019-17221
PhantomJS through 2.1.1 has an arbitrary file read vulnerability, as demonstrated by an XMLHttpRequest for a file:// URI. The vulnerability exists in the page.open() function of the webpage module, which loads a specified URL and calls a given callback. An attacker can supply a specially crafted HTML file, as user input, that allows reading arbitrary files on the filesystem. For example, if page.render() is the function callback, this generates a PDF or an image of the targeted file. NOTE: this product is no longer developed.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.087
EPSS Ranking 92.1%
CVSS Severity
CVSS v3 Score 7.5
CVSS v2 Score 5.0
Products affected by CVE-2019-17221
-
cpe:2.3:a:phantomjs:phantomjs:1.0.0
-
cpe:2.3:a:phantomjs:phantomjs:1.1.0
-
cpe:2.3:a:phantomjs:phantomjs:1.2.0
-
cpe:2.3:a:phantomjs:phantomjs:1.3.0
-
cpe:2.3:a:phantomjs:phantomjs:1.4.0
-
cpe:2.3:a:phantomjs:phantomjs:1.4.1
-
cpe:2.3:a:phantomjs:phantomjs:1.5.0
-
cpe:2.3:a:phantomjs:phantomjs:1.6.0
-
cpe:2.3:a:phantomjs:phantomjs:1.6.1
-
cpe:2.3:a:phantomjs:phantomjs:1.7.0
-
cpe:2.3:a:phantomjs:phantomjs:1.8.0
-
cpe:2.3:a:phantomjs:phantomjs:1.8.1
-
cpe:2.3:a:phantomjs:phantomjs:1.8.2
-
cpe:2.3:a:phantomjs:phantomjs:1.9.0
-
cpe:2.3:a:phantomjs:phantomjs:1.9.1
-
cpe:2.3:a:phantomjs:phantomjs:1.9.2
-
cpe:2.3:a:phantomjs:phantomjs:1.9.3
-
cpe:2.3:a:phantomjs:phantomjs:1.9.6
-
cpe:2.3:a:phantomjs:phantomjs:1.9.7
-
cpe:2.3:a:phantomjs:phantomjs:1.9.8
-
cpe:2.3:a:phantomjs:phantomjs:2.0.0
-
cpe:2.3:a:phantomjs:phantomjs:2.1.0
-
cpe:2.3:a:phantomjs:phantomjs:2.1.1