{"id":"CVE-2019-17221","published":"2019-11-05T13:10:45Z","modified":"2024-08-05T01:33:17Z","title":"PhantomJS through 2.1.1 has an arbitrary file read vulnerability, as demonstrated by an XMLHttpRequest for a file:// URI","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03424,"percentile":0.88871,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.darkmatter.ae/blogs/breaching-the-perimeter-phantomjs-arbitrary-file-read/","tags":["x_refsource_MISC"]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":17.77},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2020-01-16","earliestUrl":"https://github.com/h4ckologic/CVE-2019-17221","repos":[{"name":"h4ckologic/CVE-2019-17221","url":"https://github.com/h4ckologic/CVE-2019-17221","stars":8,"created":"2020-01-16"}]},"first":{"date":"2020-01-16","source":"PoC-in-GitHub","url":"https://github.com/h4ckologic/CVE-2019-17221"},"provenance":"source"},"affected":[{"ecosystem":"npm","package":"phantomjs","vulnerableRanges":["<=2.1.1"],"patched":[],"from":["GHSA-x43g-gj9x-838x"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-5707","exploited":false,"provenance":"source"}}