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

Npm Audit report #140

Closed
vbjay opened this issue Oct 9, 2023 · 4 comments
Closed

Npm Audit report #140

vbjay opened this issue Oct 9, 2023 · 4 comments

Comments

@vbjay
Copy link

vbjay commented Oct 9, 2023

Tying to #124 and pugjs/pug#3395

npm --version
9.8.1

node --version
v18.18.0

npm audit

pug  <3.0.1
Severity: high
Remote code execution via the `pretty` option. - https://github.com/advisories/GHSA-p493-635q-r6gr
No fix available
node_modules/pug
  pug-loader  >=2.0.0
  Depends on vulnerable versions of pug
  node_modules/pug-loader
    @bluemodus/bluepack  *
    Depends on vulnerable versions of pug-loader
    node_modules/@bluemodus/bluepack

Can we get an update to use the updated pug package?

@webdiscus
Copy link

@vbjay the pug-loader is not maintained for more than 5 years :-/

You can use the modern alternative @webdiscus/pug-loader.
This loader is 100% compatible with the original pug-loader and also has many very useful features.

If you use the pug-loader with html-webpack-plugin, you should try to use the pug-plugin.

@vbjay
Copy link
Author

vbjay commented Oct 11, 2023

Then at least can we do a deprecation in npm so that npm audit/install reports that info and suggests the replacement.

@webdiscus
Copy link

@vbjay it would be great, but maintemers don't react at all

@vbjay
Copy link
Author

vbjay commented Oct 12, 2023

Bummer. Thanks.

@vbjay vbjay closed this as completed Oct 12, 2023
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

No branches or pull requests

2 participants