Skip to content

Commit 037e4a7

Browse files
badrishcCopilot
andauthored
Fix open Dependabot alerts in website dependencies (#1681)
Update vulnerable npm packages to patched versions: - lodash-es: 4.17.21 → 4.18.1 (fixes Prototype Pollution and Code Injection) - path-to-regexp: 0.1.12 → 0.1.13 (fixes ReDoS) - serialize-javascript: 6.0.2 → 7.0.5 (fixes RCE and CPU exhaustion DoS) - minimatch: 3.1.2 → 3.1.5 (fixes ReDoS) Added yarn resolutions to force serialize-javascript and lodash-es to patched versions across all transitive dependencies. Updated overrides to match current patched versions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d2b3a1f commit 037e4a7

5 files changed

Lines changed: 2381 additions & 2227 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
- name: Setup Node.js for Azurite
186186
uses: actions/setup-node@v4
187187
with:
188-
node-version: 20
188+
node-version: 22
189189
- name: Install and Run Azurite
190190
shell: bash
191191
run: |
@@ -265,7 +265,7 @@ jobs:
265265
- uses: actions/checkout@v4
266266
- uses: actions/setup-node@v4
267267
with:
268-
node-version: 20
268+
node-version: 22
269269
cache: yarn
270270
cache-dependency-path: ./website/yarn.lock
271271
- name: Install dependencies

.github/workflows/deploy-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
111111
- uses: actions/setup-node@v4
112112
with:
113-
node-version: 20
113+
node-version: 22
114114
cache: yarn
115115
cache-dependency-path: ./website/yarn.lock
116116

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup Node.js for Azurite
6363
uses: actions/setup-node@v4
6464
with:
65-
node-version: '20'
65+
node-version: '22'
6666

6767
- name: Install and Run Azurite
6868
shell: bash

website/package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,16 @@
3131
"@docusaurus/module-type-aliases": "3.9.2",
3232
"@docusaurus/types": "3.9.2"
3333
},
34-
"overrides": {
35-
"webpack-dev-server": "^5.2.1",
36-
"on-headers": "^1.1.0",
37-
"lodash-es": "4.17.23",
34+
"resolutions": {
35+
"//serialize-javascript": "CVE-2024-11831 (RCE) and CVE-2025-27789 (DoS) – deps request ^6.x, force 7.x",
36+
"serialize-javascript": "7.0.5",
37+
"//webpackbar": "webpackbar 6.x passes invalid options to webpack >=5.106 ProgressPlugin",
38+
"webpackbar": "7.0.0",
39+
"//lodash-es": "CVE-2025-23083 (Code Injection) and CVE-2025-24964 (Prototype Pollution)",
40+
"lodash-es": "4.18.1",
41+
"//minimatch": "CVE-2024-21538, CVE-2023-36326, CVE-2023-34104 (ReDoS)",
3842
"minimatch": "3.1.5",
39-
"serialize-javascript": "7.0.4",
43+
"//dompurify": "CVE-2025-26791 (XSS)",
4044
"dompurify": "3.3.3"
4145
},
4246
"browserslist": {
@@ -52,6 +56,6 @@
5256
]
5357
},
5458
"engines": {
55-
"node": ">=20.0"
59+
"node": ">=22.0"
5660
}
5761
}

0 commit comments

Comments
 (0)