Skip to content

Commit 7fc068f

Browse files
fix(web): Fix CVE 2025-55182 (#654)
1 parent 91caf12 commit 7fc068f

4 files changed

Lines changed: 232 additions & 198 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- Fixed issue where files with special characters would fail to load. [#636](https://github.com/sourcebot-dev/sourcebot/issues/636)
1717
- Fixed Ask performance issues. [#632](https://github.com/sourcebot-dev/sourcebot/pull/632)
1818
- Fixed regression where creating a new Ask thread when unauthenticated would result in a 404. [#641](https://github.com/sourcebot-dev/sourcebot/pull/641)
19+
- Updated react and next package versions to fix CVE 2025-55182. [#654](https://github.com/sourcebot-dev/sourcebot/pull/654)
1920

2021
### Changed
2122
- Changed the default behaviour for code nav to scope references & definitions search to the current repository. [#647](https://github.com/sourcebot-dev/sourcebot/pull/647)

packages/web/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"langfuse-vercel": "^3.38.4",
148148
"lucide-react": "^0.517.0",
149149
"micromatch": "^4.0.8",
150-
"next": "15.5.0",
150+
"next": "^16.0.7",
151151
"next-auth": "^5.0.0-beta.30",
152152
"next-navigation-guard": "^0.2.0",
153153
"next-themes": "^0.3.0",
@@ -158,9 +158,9 @@
158158
"posthog-js": "^1.161.5",
159159
"pretty-bytes": "^6.1.1",
160160
"psl": "^1.15.0",
161-
"react": "19.1.1",
161+
"react": "^19.2.1",
162162
"react-device-detect": "^2.2.3",
163-
"react-dom": "19.1.1",
163+
"react-dom": "^19.2.1",
164164
"react-hook-form": "^7.53.0",
165165
"react-hotkeys-hook": "^4.5.1",
166166
"react-icons": "^5.3.0",
@@ -196,8 +196,8 @@
196196
"@types/node": "^20",
197197
"@types/nodemailer": "^6.4.17",
198198
"@types/psl": "^1.1.3",
199-
"@types/react": "19.1.10",
200-
"@types/react-dom": "19.1.7",
199+
"@types/react": "19.2.1",
200+
"@types/react-dom": "19.2.1",
201201
"@typescript-eslint/eslint-plugin": "^8.40.0",
202202
"@typescript-eslint/parser": "^8.40.0",
203203
"cross-env": "^7.0.3",
@@ -217,7 +217,7 @@
217217
"vitest-mock-extended": "^3.1.0"
218218
},
219219
"resolutions": {
220-
"@types/react": "19.1.10",
221-
"@types/react-dom": "19.1.7"
220+
"@types/react": "19.2.1",
221+
"@types/react-dom": "19.2.1"
222222
}
223223
}

packages/web/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"moduleResolution": "bundler",
1515
"resolveJsonModule": true,
1616
"isolatedModules": true,
17-
"jsx": "preserve",
17+
"jsx": "react-jsx",
1818
"incremental": true,
1919
"plugins": [
2020
{
@@ -35,7 +35,8 @@
3535
"next-env.d.ts",
3636
"**/*.ts",
3737
"**/*.tsx",
38-
".next/types/**/*.ts"
38+
".next/types/**/*.ts",
39+
".next/dev/types/**/*.ts"
3940
],
4041
"exclude": [
4142
"node_modules"

0 commit comments

Comments
 (0)