WEBUI-2038: Fix remaining Dependabot vulnerabilities (round 2) [LTS-2023]#3167
Merged
madhurkulshrestha-hyland merged 1 commit intoMay 21, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR continues the WEBUI-2038 effort by updating dependency overrides and dev tooling dependencies to address remaining Dependabot-reported vulnerabilities, with corresponding lockfile regeneration.
Changes:
- Upgraded
wsoverride to8.20.1in both root and ftest packages. - Added several root-level security overrides (
tmp,cross-spawn,nanoid,minimatch) and upgradedhttp-serverto^14.1.1. - Regenerated
package-lock.jsonandpackages/nuxeo-web-ui-ftest/package-lock.jsonto reflect updated resolutions.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updates security overrides and bumps http-server to a non-vulnerable major line. |
| package-lock.json | Regenerated lockfile reflecting updated resolutions (but still contains an outdated tmp in the ftest subtree). |
| packages/nuxeo-web-ui-ftest/package.json | Bumps ws override for the functional test package. |
| packages/nuxeo-web-ui-ftest/package-lock.json | Regenerated ftest lockfile to pick up updated ws (and other dependency shifts). |
Files not reviewed (1)
- packages/nuxeo-web-ui-ftest/package-lock.json: Language not supported
1a2d7b0 to
12aae9b
Compare
- Upgrade ws override from 8.17.1 to 8.20.1 (fixes uninitialized memory disclosure) - Add overrides: tmp (^0.2.4), cross-spawn (^7.0.6), nanoid (^3.3.8), minimatch (^3.1.4) - Upgrade http-server from ^0.11.1 to ^14.1.1 (removes ecstatic vulnerability) - Update ftest ws override to 8.20.1 - Regenerate lockfiles
12aae9b to
784f639
Compare
|
f8f2d64
into
maintenance-3.1.x
14 of 16 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



WEBUI-2038: Fix remaining Dependabot vulnerabilities (round 2)
JIRA: https://hyland.atlassian.net/browse/WEBUI-2038
Changes
Addresses remaining Dependabot alerts after the initial round of fixes (PRs #3162/#3163). Reduces total vulnerabilities from 59 → 9 (0 critical).
Dependency Removals (unused)
karma-sauce-launcher— Sauce Labs is disabled in CI (commented out in test.yaml); removesgot,http-cache-semantics,semver-regextransitive vulnswebpack-log— replaced with inlineconsole.warnwrapper (only 2 log calls); removesnanoidv2 transitive vulnbabel-preset-env(ftest) — unused; project uses@babel/preset-envbabel-register(ftest) — unused; project uses@babel/registercucumber-junit(ftest) — no reporter configured; legacy leftoverfs-finder(ftest) — no imports found; project usesglobDependency Upgrades
workbox-cli7.3.0 → 7.4.1 (removesgotvuln viaupdate-notifier)http-server^0.11.1 → ^14.1.1 (removesecstaticvuln)Overrides Added/Updated
ws8.17.1 → 8.20.1 (uninitialized memory disclosure)form-data^2.5.4 (SSRF via crafted filename)qs^6.14.1 (arrayLimit bypass DoS)cross-spawn^7.0.6 (command injection)minimatch^3.1.4 (ReDoS)tmp^0.2.4 (insecure temp files)Karma Config Cleanup
Lockfiles
package-lock.jsonandpackages/nuxeo-web-ui-ftest/package-lock.jsonRemaining 9 vulnerabilities (unfixable without major refactoring)
All from
@open-wc/karma-esm— the unit test ESM framework. Its transitivees-dev-server→requestchain pulls deprecated/vulnerable packages (@koa/cors,tough-cookie,useragent,requestitself). No upgrade path exists without replacing the entire Karma ESM approach.Testing
npm run lintpassesnpm test(1882 unit tests) passesnpm start(webpack dev server) works