VDB
Sign up
CRITICAL9.8

GHSA-34r7-q49f-h37c

Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js

Quick fix

GHSA-34r7-q49f-h37c — uglify-js: upgrade to the fixed version with the command below.

npm install uglify-js@2.4.24

Details

Versions of `uglify-js` prior to 2.4.24 are affected by a vulnerability which may cause crafted JavaScript to have altered functionality after minification.

## Recommendation

Upgrade UglifyJS to version >= 2.4.24.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/uglify-js
Introduced in: 0Fixed in: 2.4.24
Fixnpm install uglify-js@2.4.24
RubyGems/uglifier
Introduced in: 0Fixed in: 2.7.2
Fixbundle update uglifier

References