SSR Injection
Server-side rendering in Next.js executes code on the server before sending HTML to the browser. When user input flows into getServerSideProps or server components without sanitization, attackers can inject payloads that execute during the render cycle. This can lead to data exfiltration from the server environment, access to internal APIs and server-side request forgery. We trace data flow from user input through server rendering functions to identify injection points that only manifest during SSR.