Read the docs
TI-2019-12839 Aliases CVE-2019-17221GHSA-x43g-gj9x-838x

PhantomJS through 2.1.1 has an arbitrary file read vulnerability, as demonstrated by an…

Priority LOW 39CWE-552Published · Updated

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

EPSS 0.03424 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—phantomjs (npm)up to 2.1.1—No fix listedGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:phantomjs:phantomjs:*:*:*:*:*:*:*:*up to 2.1.1VulnerablePhantomjs
  • cpe:2.3:a:phantomjs:phantomjs:*:*:*:*:*:*:*:* Versions up to 2.1.1 Vulnerable ·Phantomjs

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-17221
  2. 2026-10-03 Alias added: GHSA-x43g-gj9x-838x

References

Sources