Skip to content

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Apr 1, 2025

There is a critical vulnerability with Next.js. This PR updates both the v14 and v15 versions to ensure users are on the latest patched versions.

For new projects, it should already be using the latest patch within the minor version, since we default to ~ range. This will ensure that existing projects that did not update yet is updated to the secure versions.

See: GHSA-f82v-jwr5-mffw

Current Behavior

Next.js versions for existing projects may be using vulnerable versions.

Expected Behavior

Migrate existing Next.js projects to patched and secure versions.

Related Issue(s)

Fixes #

@jaysoo jaysoo requested review from a team as code owners April 1, 2025 21:18
@jaysoo jaysoo requested a review from xiongemi April 1, 2025 21:18
Copy link

vercel bot commented Apr 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Apr 1, 2025 9:48pm
Copy link
Contributor

nx-cloud bot commented Apr 1, 2025

View your CI Pipeline Execution ↗ for commit 6b8c7c9.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 42m 8s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 17s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base=f5d3b... ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 50s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-01 22:26:55 UTC

@jaysoo jaysoo requested review from a team, AgentEnder and FrozenPandaz as code owners April 1, 2025 21:39
@jaysoo jaysoo requested a review from isaacplmann April 1, 2025 21:39
@jaysoo jaysoo merged commit 41cc04d into master Apr 1, 2025
12 checks passed
@jaysoo jaysoo deleted the fix/next-audit branch April 1, 2025 22:28
jaysoo added a commit that referenced this pull request Apr 2, 2025
There is a critical vulnerability with Next.js. This PR updates both the
v14 and v15 versions to ensure users are on the latest patched versions.

For new projects, it should already be using the latest patch within the
minor version, since we default to `~` range. This will ensure that
existing projects that did not update yet is updated to the secure
versions.

See: GHSA-f82v-jwr5-mffw

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
Next.js versions for existing projects may be using vulnerable versions.

## Expected Behavior
Migrate existing Next.js projects to patched and secure versions.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
Copy link
Contributor

github-actions bot commented Apr 7, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants