Commit graph

639 commits

Author SHA1 Message Date
Vercel
1ac2f6bb03 Update React Flight RCE vulnerability patches
React Flight / Next.js RCE Advisory - Vulnerability Fix and Update Report

## Summary
The umami repository was affected by the React Flight / Next.js RCE advisory. The repository had Next.js 15.5.3, which is vulnerable. This has been updated to the patched version 15.5.7.

## Affected Package Detection
Inspected all package.json files in the repository:
- Root package.json: ./package.json
- Monorepo: Not a monorepo (pnpm workspace configured but only root package.json with meaningful dependencies)

## Changes Applied

### Next.js Vulnerability Fix
 **PATCHED** - Updated next from 15.5.3 to 15.5.7
- Previous version: next@15.5.3 (vulnerable)
- Updated version: next@15.5.7 (patched)
- This is the correct patch version for the 15.5.x line per the advisory
- Addresses the React Flight RCE vulnerability (CVE impact on Next.js)

### React Flight Packages Status
 **NOT AFFECTED** - Project does not use React Flight packages
- Project does NOT use react-server-dom-webpack
- Project does NOT use react-server-dom-parcel
- Project does NOT use react-server-dom-turbopack
- No React Flight specific patches required

### React & React-DOM Status
 **NO MANUAL CHANGES NEEDED** - Project uses React 19.2.0 and React-DOM 19.2.0
- These versions remain unchanged (correctly per the advisory)
- react and react-dom themselves are not vulnerable
- Next.js 15.5.7 provides the necessary security patches
- Per the advisory: "For Next.js projects, do not manually upgrade react or react-dom"

## Files Modified
1. **package.json**
   - Changed: `"next": "15.5.3"` → `"next": "15.5.7"`

2. **pnpm-lock.yaml**
   - Updated dependency locks to reflect Next.js 15.5.7
   - Cleaned up unused transitive dependencies (previous versions of sharp and emnapi)

## Verification Performed
 **Build Verification**: Next.js build completed successfully with `npm run build-app`
   - Output shows all pages compiled correctly
   - No build errors introduced by the package update

 **Lockfile Verification**: pnpm-lock.yaml correctly resolves to:
   - next@15.5.7 (with expected dependencies)
   - react@19.2.0 (unchanged as recommended)
   - react-dom@19.2.0 (unchanged as recommended)

## Conclusion
The vulnerability has been successfully patched. The repository now uses the secure version of Next.js (15.5.7) that addresses the React Flight RCE advisory. The build completes successfully, confirming compatibility with the patched version.

No other changes were required as the project does not use any React Flight packages.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2025-12-07 17:26:20 +00:00
Mike Cao
5ded9abbfe Added data-fetch-credentials attribute. Closes #3644
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-13 19:42:04 -08:00
Mike Cao
8a66603d32 Responsive fixes. 2025-11-12 16:39:58 -08:00
Mike Cao
067567cbf6 Force geo build with BUILD_GEO env var.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-31 00:13:02 -07:00
Mike Cao
d8fdba77db Updated packages. 2025-10-21 13:39:43 -07:00
Mike Cao
9a5604f236 Fixes for mobile.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-18 01:12:45 -07:00
Mike Cao
40492ec7c4 Added DialogButton to handle mobile.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-16 23:59:18 -07:00
Mike Cao
4d2a7ea947 Responsive everything. 2025-10-16 02:42:13 -07:00
Mike Cao
be5f0494cc Added MobileMenuButton component. 2025-10-14 15:43:57 -07:00
Mike Cao
d9b08d9491 Card mode for tables. 2025-10-14 13:04:14 -07:00
Mike Cao
8aa4192576 Responsive updates. 2025-10-09 17:14:09 -07:00
Mike Cao
767b373484 Fixed issue with read replica initialization.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-06 14:49:36 -07:00
Mike Cao
dbc9525c9c Fixed docker build.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-06 02:12:57 -07:00
Mike Cao
904c313a64 Always cache prisma. Renamed WebsiteMonthSelect to MonthFilter. 2025-10-03 18:06:18 -07:00
Mike Cao
25e8e18b73 Fix Avatar for Vercel. 2025-10-01 00:00:40 -07:00
Mike Cao
8a977b0164 Updated pixel/link endpoints. Added name to rawQuery. 2025-09-30 16:11:21 -07:00
Mike Cao
805b3ec853 WIP: Nav merge 2025-09-25 15:58:25 -07:00
Mike Cao
1b400da7b2 Fixed share page. Updated device detect. Updated teams fetch. 2025-09-25 11:21:44 -07:00
Mike Cao
980e4e6b41 Fixed funnel report saving invalid data.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-22 22:03:26 -07:00
Mike Cao
bf16ade184 Updated icons. 2025-09-22 20:11:31 -07:00
Mike Cao
e610de383a Fix for schema selection in pg adapter.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-11 12:37:24 -07:00
Mike Cao
67105f2cff Updated packages. 2025-09-10 17:16:04 -07:00
Mike Cao
aa7d3cd1aa New components build.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-08 22:52:43 -07:00
Mike Cao
303947fe9b Fixed uuid references in schemas.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-08 15:28:01 -07:00
Mike Cao
f40e1b44f3 Updates for cloud mode.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-04 20:27:42 -07:00
Mike Cao
dc1736458b Export metrics components.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-03 17:16:03 -07:00
Mike Cao
c4114f4349 Fixed build.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-02 09:27:37 -07:00
Mike Cao
c916e4ff9c Fixed components build. Renamed validations to permissions. 2025-09-02 09:23:35 -07:00
Mike Cao
f0ec24e8f5 Updated funnel edit form.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-01 20:18:38 -07:00
Mike Cao
56af91950a Updated components build. 2025-09-01 15:59:06 -07:00
Mike Cao
bab4f8ebcc Cohort selection. 2025-08-28 23:29:42 -07:00
Mike Cao
dfaebcd1b7 Updated Next, Prisma, react-zen. 2025-08-27 17:23:58 -07:00
Mike Cao
8c8e36c63b Cohorts editing. 2025-08-26 23:55:57 -07:00
Mike Cao
0f9669f886 Converted mutation queries. 2025-08-24 15:20:19 -07:00
Mike Cao
c8fe93dd9d Refactored tables. 2025-08-23 01:12:37 -07:00
Mike Cao
5d1f2a6f2d Updated Next. 2025-08-21 01:43:51 -07:00
Mike Cao
789b8b36d8 Link route. 2025-08-18 22:30:22 -07:00
Mike Cao
3c5c1e48e9 Refactored settings. Updated sidebar. 2025-08-15 22:16:28 -07:00
Mike Cao
eabdd18604 Updated Prisma build. 2025-08-15 12:29:33 -07:00
Mike Cao
88639dfe83 New schema for pixels and links. 2025-08-13 20:27:54 -07:00
Mike Cao
c60e8b3d23 Moved panel button. 2025-08-09 17:46:27 -07:00
Mike Cao
a97445fb82 Fixed sidenav rendering. 2025-08-09 02:06:54 -07:00
Mike Cao
0b4851125d Updated next and prisma. 2025-08-07 12:36:11 -07:00
Mike Cao
eb7b6978d3 New settings layouts. Segment management screen. 2025-08-07 05:14:35 -07:00
Mike Cao
554c627a58 Merge branch 'dev' into jajaja
# Conflicts:
#	src/app/api/websites/[websiteId]/metrics/route.ts
#	src/queries/sql/getChannelMetrics.ts
2025-07-29 19:15:55 -07:00
Mike Cao
45c9ea9c22 Merge branch 'dev' into jajaja
# Conflicts:
#	db/mysql/schema.prisma
#	package.json
#	pnpm-lock.yaml
#	src/app/(main)/reports/[reportId]/ReportBody.tsx
#	src/app/(main)/reports/[reportId]/ReportPage.tsx
#	src/app/(main)/reports/utm/UTMView.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteMetricsBar.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteTableView.tsx
#	src/app/(main)/websites/[websiteId]/events/EventsPage.tsx
#	src/app/api/reports/[reportId]/route.ts
#	src/app/api/websites/[websiteId]/metrics/route.ts
#	src/components/hooks/queries/useReport.ts
#	src/components/icons.ts
#	src/components/messages.ts
#	src/components/metrics/MetricsTable.module.css
#	src/components/metrics/MetricsTable.tsx
#	src/queries/sql/events/getEventMetrics.ts
#	src/queries/sql/reports/getUTM.ts
2025-07-23 23:39:28 -07:00
Mike Cao
a025fc9552 Updated nav. 2025-07-23 17:47:56 -07:00
Mike Cao
7670ec4136 Added download functionality. 2025-07-22 00:24:37 -07:00
Mike Cao
5828445313 Updated packages. 2025-07-21 10:58:58 -07:00
Mike Cao
876f4c883e Updated layout. Fixed properties rendering. 2025-07-18 00:22:06 -07:00