To preview a post, Postiz converts its content to the plain text that will be published, which strips tags and then decodes encoded angle brackets back into characters. The editor's preview panes then inserted that text into the page as HTML. Markup written with entities in a post therefore passed every sanitizing step as harmless text and became a live element only in the preview.
Post text can come from the owner of an RSS feed that the organization follows with Auto Post, without any Postiz account, or from another member of the organization through a draft or a default signature. A member who opens such a post in the editor runs the script with their own session. The Reddit preview rendered post content as HTML without any stripping.
The member route requires a team member of the organization. It is an escalation only where role policies are enforced, which is when Stripe billing is configured; without it a USER member can already read the API key.
Exploitation was demonstrated against the unmodified production frontend bundle at commit 3a7d28b7ad96 running in happy-dom: a draft created by Auto Post from a feed item ran the script when opened and sent the organization's API key to the feed host. The member draft route was checked against the same build.
Follow only RSS feeds you control with Auto Post, and remove Auto Post feeds you do not control.
Upgrade to Postiz v2.26.1 or later.