Repository navigation
Fix dependency and security advisories - #845
Merged
Merged
Conversation
- Upgrade Next.js and Better Auth across workspaces - Update vulnerable dependency overrides and refresh the lockfile
- Restrict SCORM uploads and media deletion to authorized resources - Validate download and SCORM cache paths; encode archive filenames safely - Enforce permission-change checks for users and sequence pausing
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.
Summary
Dependency advisories
eslint-config-nextstays on 16.2.9; 16.4 adds React Compiler lint rules that report 95 new errors.storeStateStrategy: "cookie". 1.7 needs an SSO account-identity backfill, so it's left for a separate upgrade.proxy-addr2.0.8 override.packageExtensionsentry so@hookform/resolvers@3resolves the app's Zod 3. The new lockfile hoists Zod 4, which broke the web typecheck.apps/docs(the critical fix needs 7.x).Security advisories
pauseSequencerequires authentication andmanageUsers.domain,communityanduser.manageAnyCourse, or owning the course withmanageCourse.Content-Disposition, and lesson file names are reduced to their base name.updateUseronly lets callers add or remove permissions they hold.Other
.env.example:DB_TRANSACTION→DB_TRANSACTIONS(the nameauth.tsreads).Not included: GHSA-cjrv (embed XSS) and GHSA-x72c / GHSA-j865 (unsigned payment webhooks).
Testing
pnpm test: 100 suites, 835 tests passed, including new tests for each fix.