When a sign-in or registration request failed, Postiz sent the error message back as the response body with the default HTML content type. One of those messages included the requested authentication provider name exactly as it was sent, and both endpoints accepted cross-site form submissions, so a page on any site could post a provider name containing markup and have the browser render the answer as a document on the API origin.
Other errors returned by the same endpoints can also quote request data, so the issue was not limited to the provider name. The script runs with the member's session on that origin and can call any dashboard route the member may use.
In the shipped container the API is served under /api on the application's own origin, so the script runs on the application origin. With a separate API host it runs on that host, which still receives the session cookie.
Exploitation was demonstrated against an unmodified backend build at commit 3a7d28b7ad96: a page on another origin submitted a form to the login endpoint, the signed-in member's browser ran the returned script, and the organization API key reached the attacker's server.
At the reverse proxy, add X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none' to responses of the API paths.
Upgrade to Postiz v2.26.1 or later.