It is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware.
This vulnerability is similar to CVE-2018-14732. When running a Next.js server locally (e.g. through npm run dev), the WebSocket server is vulnerable to the Cross-site WebSocket hijacking (CSWSH) attack. and a bad actor can access the source code of client components, if a user was to visit a malicious link while having the Next.js dev server running.
Stay updated with the latest patches and releases. Plan your sofware desisgn. Avoid common known vulnerabilities fixed by the open source community
Latest patch release: 14.2.29
Latest minor release: --
Latest major release: 15.4.0
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT License