{"id":"CVE-2016-10661","aliases":["EUVD-2019-0350","GHSA-w364-8vfv-gvf5"],"status":"published","title":"Downloads Resources over HTTP in phantomjs-cheniu","description":"phantomjs-cheniu is a Headless WebKit with JS API phantomjs-cheniu downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01725,"percentile":0.77683,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-310","CWE-311"],"published":"2018-06-04T16:00:00Z","modified":"2026-06-17T00:40:07Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"phantomjs-cheniu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.0.1"}]}]},{"source":"osv","ecosystem":"npm","package":"phantomjs-cheniu","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.1"}]}]}],"products":[{"vendor":"hackerone","product":"phantomjs-cheniu node module"},{"vendor":"phantomjs-cheniu_project","product":"phantomjs-cheniu"}],"references":[{"url":"https://nodesecurity.io/advisories/262","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10661","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w364-8vfv-gvf5","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/262","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-10661","description":"phantomjs-cheniu is a Headless WebKit with JS API phantomjs-cheniu downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.","status":"published","published":"2018-06-04T16:00:00Z","modified":"2024-09-16T16:24:14.031Z","cwes":["CWE-311"],"updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2019-0350","description":"phantomjs-cheniu is a Headless WebKit with JS API phantomjs-cheniu downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.","status":"published","published":"2018-06-04T16:00:00Z","modified":"2024-09-16T16:24:14Z","updated_at":"2026-11-03T00:55:51.557415Z"}],"ghsa":[{"id":"GHSA-w364-8vfv-gvf5","title":"Downloads Resources over HTTP in phantomjs-cheniu","description":"Affected versions of `phantomjs-cheniu` insecurely download an executable over an unencrypted HTTP connection. \n\nIn scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running `phantomjs-cheniu`.\n\n\n## Recommendation\n\nNo patch is currently available for this vulnerability.\n\nAs this package is just a fork of Medium's [`phantomjs-prebuilt`](https://github.com/Medium/phantomjs) package, the best mitigation is currently to install the `Medium` version of [`phantomjs-prebuilt`](https://github.com/Medium/phantomjs). This can be done via the following command:\n```\nnpm i phantomjs-prebuilt\n```","status":"published","published":"2019-02-18T23:44:52Z","modified":"2023-01-09T05:03:27Z","cwes":["CWE-311"],"updated_at":"2026-11-02T14:36:05.071174Z"}],"nvd":[{"id":"CVE-2016-10661","description":"phantomjs-cheniu is a Headless WebKit with JS API phantomjs-cheniu downloads binary resources over HTTP, which leaves it vulnerable to MITM attacks. It may be possible to cause remote code execution (RCE) by swapping out the requested resources with an attacker controlled copy if the attacker is on the network or positioned in between the user and the remote server.","status":"published","published":"2018-06-04T16:29:01.437Z","modified":"2026-06-17T00:40:07.267Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-311","CWE-310"],"updated_at":"2026-11-02T14:03:39.621168Z"}],"osv":[{"id":"GHSA-w364-8vfv-gvf5","title":"Downloads Resources over HTTP in phantomjs-cheniu","description":"Affected versions of `phantomjs-cheniu` insecurely download an executable over an unencrypted HTTP connection. \n\nIn scenarios where an attacker has a privileged network position, it is possible to intercept the response and replace the executable with a malicious one, resulting in code execution on the system running `phantomjs-cheniu`.\n\n\n## Recommendation\n\nNo patch is currently available for this vulnerability.\n\nAs this package is just a fork of Medium's [`phantomjs-prebuilt`](https://github.com/Medium/phantomjs) package, the best mitigation is currently to install the `Medium` version of [`phantomjs-prebuilt`](https://github.com/Medium/phantomjs). This can be done via the following command:\n```\nnpm i phantomjs-prebuilt\n```","status":"published","published":"2019-02-18T23:44:52Z","modified":"2023-11-08T03:58:18.805408Z","cwes":["CWE-311"],"updated_at":"2026-11-02T15:46:58.04805Z"}]}}
