Live threats

All CVEs / Uglifyjs Project

CVE-2015-8857Uglifyjs Project Uglifyjs

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Uglifyjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
uglifyjs_projectuglifyjs< 2.4.24

Official sources

References

Links published by the sources. Open them with care.