VDB
CVE-2015-8857
CVE-2015-8857
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js
Reported by mitre · Published January 23, 2017
The uglify-js package before 2.4.24 for Node.js does not properly account for non-boolean values when rewriting boolean expressions, which might allow attackers to bypass security mechanisms or possibly have unspecified other impact by leveraging improperly rewritten Javascript.
Risk scores
CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| npm | uglify-js | 0 |
| RubyGems | uglifier | 0 |
Timeline
- Jan 23, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- May 13, 2026 CVE Updated
- Oct 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-8857
vulnetix vdb fixes CVE-2015-8857
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-8857/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 96410 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- [oss-security] 20160420 various vulnerabilities in Node.js packages mailing-listx_refsource_MLIST
- https://www.npmjs.com/advisories/39 url
- https://nvd.nist.gov/vuln/detail/CVE-2015-8857 advisory
- https://github.com/mishoo/UglifyJS2/issues/751 url
- https://zyan.scripts.mit.edu/blog/backdooring-js/ url
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uglifier/CVE-2015-8857.yml advisory
- https://web.archive.org/web/20200227190830/http://www.securityfocus.com/bid/96410 url
- https://github.com/lautis/uglifier/commit/4677bfe38142937ff952f95605bcec4618892c3e patch
- https://github.com/advisories/GHSA-34r7-q49f-h37c advisory