Skip to content

[Snyk] Security upgrade next from 15.5.9 to 16.1.5 - #308

Closed
peterj wants to merge 1 commit into
mainfrom
snyk-fix-7efafe9c3bbe3abb09c017ce465af06b
Closed

[Snyk] Security upgrade next from 15.5.9 to 16.1.5#308
peterj wants to merge 1 commit into
mainfrom
snyk-fix-7efafe9c3bbe3abb09c017ce465af06b

Conversation

@peterj

@peterj peterj commented Jan 28, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15104645
  696  
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15105315
  696  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling

@kristin-kronstain-brown

Copy link
Copy Markdown
Contributor

Closing: this is now addressed on the kkb-hugo-docs-migration branch (#406, commit 7adc835), which stays on the Next 15 line:

  • next^15.5.21 (resolves 15.5.22)
  • new overrides: postcss^8.5.23, sharp^0.35.0

All 24 Next.js advisories that applied to 15.5.12 are fixed as of 15.5.21, so the 15.x line is sufficient — npm audit now reports next, postcss, and sharp clean. Verified with npm ci and a full make build (Hugo docs + OpenNext worker); CI is green on #406.

Superseded, and the Next 16 upgrade is deliberately not being taken here. Next 16 was attempted and blocked on four separate issues:

  1. @next/third-parties@15 peer conflict (ERESOLVE)
  2. @next/mdx@15 incompatible with the Next 16 loader
  3. Turbopack (the Next 16 default) rejects the non-serializable remark/rehype plugin references in next.config.mjs, and ignores the webpack: yaml-loader rule that 6 .yaml imports depend on
  4. export const metadata is disallowed from the MDX client boundary, affecting 68 page.mdx files

Since 15.5.21 fixes every advisory, staying on 15.x is the lower-risk path. A Next 16 upgrade should be its own PR with those four items handled.

@peterj

peterj commented Aug 5, 2026 via email

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants