CVE-2015-8857Uglifyjs Project Uglifyjs
Critical 9.8 No auth needed
Follow: this CVE · Uglifyjs Project · Uglifyjs Project Uglifyjs We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jan 23, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-254
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Uglifyjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | uglifier |
< 2.7.2 |
2.7.2 |
gem "uglifier", ">= 2.7.2" |
| npm | uglify-js |
< 2.4.24 |
2.4.24 |
npm install uglify-js@2.4.24 |
Per OSV / GitHub Advisories (GHSA-34r7-q49f-h37c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| uglifyjs_project | uglifyjs | < 2.4.24 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- nodesecurity.io Exploit Patch Vendor Advisory