Vulnerability in Phantomjs

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.034 (88.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-17221: held from 0.034 to 0.034.

EPSS over last 30 days · oldest: 0.034 · newest: 0.034 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-17221?
CVE-2019-17221 is a high-severity vulnerability in Phantomjs, classified under Files or Directories Accessible to External Parties. CVSS score: 7.5/10. Published 2019-11-05.
How severe is CVE-2019-17221?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2019-17221 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.