Root cause
SSRF & network boundaries introduced
The consent form entered the codebase with f-string HTML that interpolated the registered application name, the client id, redirect URI, state and the error text without escaping any of them, which made those attacker-controlled strings markup in the operator's browser.