Home / Uglifyjs Project / Uglifyjs / CVE-2015-8857
CVE-2015-8857: is it exploited, and which versions of Uglifyjs Project Uglifyjs are affected and fixed?
CVE-2015-8857 is an incorrect Comparison Logic Granularity vulnerability in Uglifyjs Project Uglifyjs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: uglify-js before 2.4.24 and uglifier before 2.7.2 (GitHub advisory GHSA-34r7-q49f-h37c). Fixed in 2.4.24 and 2.7.2 (GitHub advisory GHSA-34r7-q49f-h37c). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:44 UTC.
What is CVE-2015-8857?
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.
From the CVE record by mitre, last updated August 6, 2024, 08:29 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | uglify-js | < 2.4.24 | 2.4.24 | GHSA-34r7-q49f-h37c |
| RubyGems | uglifier | < 2.7.2 | 2.7.2 | GHSA-34r7-q49f-h37c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 29, 2021. Summary: Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| uglifyjs project | uglifyjs | before 2.4.24 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:35 UTC.
How severe is CVE-2015-8857?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-8857 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.56% probability of exploitation activity in the next 30 days, percentile 89.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-254
- CWE-1254 Incorrect Comparison Logic Granularity
- CWE-670 Always-Incorrect Control Flow Implementation
Where are the vendor advisories and references?
- 96410 vdb-entry, x_refsource_BID
- https://nodesecurity.io/advisories/39 x_refsource_CONFIRM
- [oss-security] 20160420 various vulnerabilities in Node.js packages mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- April 20, 2016
- Published
- January 23, 2017, 21:00 UTC
- CVE record updated
- August 6, 2024, 08:29 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:35 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:44 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Uglifyjs?
- Oct 20, 2022CVE-2022-37598 Uglifyjs Project Uglifyjs: prototype pollution disputed
- Jan 23, 2017CVE-2015-8858 Uglifyjs Project Uglifyjs: regular expression denial of service (ReDoS)
Questions about CVE-2015-8857
Is CVE-2015-8857 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 3.56% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Uglifyjs Project Uglifyjs are affected by CVE-2015-8857?
uglify-js before 2.4.24 and uglifier before 2.7.2, per the GitHub advisory GHSA-34r7-q49f-h37c. The tables above give every range the sources list.
Which version fixes CVE-2015-8857?
2.4.24 and 2.7.2, per the GitHub advisory GHSA-34r7-q49f-h37c. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-8857?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-8857?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.