CVE-2016-10661: Insecure Download of Resources in phantomjs-cheniu

phantomjs-cheniu Updated 02 Oct 2025

Summary

18/02/2019
No i
High
Not published

CVE-2016-10661: Downloads Resources over HTTP in phantomjs-cheniu. Affects phantomjs-cheniu versions < 2.0.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phantomjs-cheniu is an npm package that is a fork of Medium's phantomjs-prebuilt package. It is used for headless website testing and automation. The package allows users to run PhantomJS, a headless WebKit browser, programmatically. However, versions of phantomjs-cheniu prior to 2.0.1 insecurely download an executable over an unencrypted HTTP connection.

Vulnerability Detail

The vulnerability in phantomjs-cheniu arises from the insecure download of an executable over an unencrypted HTTP connection. This means that if an attacker has a privileged network position, they can intercept the response and replace the executable with a malicious one. This could lead to code execution on the system running phantomjs-cheniu. The vulnerability has a high severity rating and is classified under CWE-311.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

In summary, phantomjs-cheniu versions prior to 2.0.1 have a vulnerability that allows for the insecure download of an executable. There is currently no patch available, but the best mitigation is to install the Medium version of phantomjs-prebuilt. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for phantomjs-cheniu →

Share this vulnerability

FAQ

phantomjs-cheniu is an npm package that allows users to run PhantomJS, a headless WebKit browser, programmatically.

The vulnerability allows an attacker to replace the downloaded executable with a malicious one, potentially leading to code execution on the system running phantomjs-cheniu.

No, there is currently no patch available for this vulnerability.

The recommended mitigation is to install the Medium version of phantomjs-prebuilt.

You can install the Medium version of phantomjs-prebuilt by running the following command: npm i phantomjs-prebuilt

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback