Commit 3140819
fix: bump dependencies and resolve security vulnerabilities
Close the security advisories reachable through the published
@frontegg/nextjs package and the example apps.
SDK production chain (enforced via root "resolutions"):
- follow-redirects -> ^1.16.0 (proxy/auth header leak; via http-proxy)
- cookie -> ^0.7.0 (out-of-bounds cookie parsing; via iron-session)
- @babel/runtime -> ^7.26.10 (inefficient RegExp; via @frontegg/js)
Example apps:
- next / eslint-config-next 14.2.0 -> 14.2.35 (fixes the critical
middleware authorization bypass CVE-2025-29927 and other 14.2.x CVEs)
Also add a Security section to the README documenting the patched
dependency posture and responsible disclosure to security@frontegg.com.
Verified: `yarn build` and `yarn test` (@frontegg/nextjs) pass.
Known residual: a moderate advisory in `uuid` remains inside the
vendored @frontegg/redux-store bundle; its fix requires uuid v11 (a
major bump) and the affected code path (v3/v5/v6 with a buffer) is not
exercised, so a global override is not applied here.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 3b4c628 commit 3140819
6 files changed
Lines changed: 161 additions & 190 deletions
File tree
- packages
- example-app-directory
- example-pages
- example-ssg
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
384 | 385 | | |
385 | 386 | | |
386 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
387 | 404 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments