PhantomJS through 2.1.1 has an arbitrary file read vulnerability, as demonstrated by an…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-552.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | phantomjs (npm) | up to 2.1.1 | — | No fix listed | GHSA-x43g-gj9x-838x |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- phantomjs (npm) Vendor— Affected up to 2.1.1 Fixed in — No fix listed GHSA-x43g-gj9x-838x
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2019-17221
- 2026-10-03 Alias added: GHSA-x43g-gj9x-838x
References
Sources
- CVE-2019-17221 · CVE Program
- CVE-2019-17221 · NVD
- FIRST EPSS
- GHSA-x43g-gj9x-838x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences