The email media type OAuth form fails to validate the URL scheme of the Authorization endpoint value before passing it to the `window.open()` function. This allows the execution of a `javascript:` URL in the browser. An attacker can deliver a crafted media type configuration via an import file to execute arbitrary JavaScript in the context of the Super Admin who grants consent. This is a Stored Cross-Site Scripting (XSS) issue, where a malicious script is permanently stored on the server and executed when a user views the affected page.