Skip to content

Commit

Permalink
fix vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
freisenhauer committed Dec 19, 2024
1 parent a08c678 commit e33e446
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 102 deletions.
5 changes: 5 additions & 0 deletions .changeset/serious-snails-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@weissaufschwarz/mitthooks-nextjs": patch
---

FIx vulnerability: If a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed.
2 changes: 1 addition & 1 deletion packages/mitthooks-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"@repo/eslint-config": "workspace:*"
},
"peerDependencies": {
"next": ">=14"
"next": ">=14.2.15"
}
}
Loading

0 comments on commit e33e446

Please sign in to comment.