Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uglifyjs-webpack-plugin vulnerability #133

Closed
tx-michael opened this issue Feb 6, 2020 · 1 comment · Fixed by #134
Closed

uglifyjs-webpack-plugin vulnerability #133

tx-michael opened this issue Feb 6, 2020 · 1 comment · Fixed by #134

Comments

@tx-michael
Copy link
Contributor

In the webpack.config, the minimizer plugin used currently is UglifyJsWebpackPlugin. This Plugin has a dependency serialize-javascript which has a cross-site scriting vulnerability: https://npmjs.com/advisories/1426.

Uglifyjs-webpack-plugin itself is archived so the webpack config should switch to to use terser-webpack-plugin.

@pomek
Copy link
Member

pomek commented Feb 27, 2020

As we switched our builds to Terser some months ago (ckeditor/ckeditor5#1353), I think we can agree that the change should be applied in this repo as well.

pomek added a commit that referenced this issue Feb 27, 2020
Docs: Replaced UglifyJS with Terser. Closes #133.

Thanks to @tx-michael for the contribution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants