GoogleChrome / lighthouse-ci

Automate running Lighthouse for every commit, viewing the changes, and preventing regressions
Apache License 2.0
6.42k stars 647 forks source link

Version 0.14.0 Vulnerabilities #1074

Open Elte156 opened 1 week ago

Elte156 commented 1 week ago

Describe the bug

Currently, @lhci/cli 0.14.0 has a number of vulnerabilities

Here is one we identified:

https://security.snyk.io/vuln/SNYK-JS-COOKIE-8163060

Issues with no direct upgrade or patch:
  ✗ Cross-site Scripting (XSS) [Medium Severity][https://security.snyk.io/vuln/SNYK-JS-COOKIE-8163060] in cookie@0.4.2
    introduced by @lhci/cli@0.14.0 > express@4.20.0 > cookie@0.6.0 and 7 other path(s)
  This issue was fixed in versions: 0.7.0
hamirmahal commented 2 days ago

I think I came across something similar in a few of my repositories.

@lhci/cli@0.14.0 requires cookie@^0.4.1 via a transitive dependency on @sentry/node@6.19.7
@lhci/cli@0.14.0 requires cookie@0.6.0 via a transitive dependency on express@4.21.0
hamirmahal commented 17 hours ago

For what it's worth, it looks like express fixed this with https://github.com/expressjs/express/pull/6029.