CVE-2026-141289: Stored cross-site scripting in the post editor preview through entity-encoded markup
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Postizto a version that resolves this vulnerability.Fixed in 2.26.1
Event History
Frequently Asked Questions
Who can supply content that triggers the issue?
An RSS feed owner can supply malicious post text through Auto Post without having a Postiz account. Other organization members can also introduce it through a draft or a default signature.
What must happen for code to execute?
A member must open the affected post in the editor so that a preview pane renders the entity-encoded markup as HTML. Exploitation requires user interaction, but does not require attacker authentication when the content arrives through a followed RSS feed.
Which previews are implicated?
The editor preview panes are affected when post text is converted, decoded, and inserted as HTML. The Reddit preview is specifically noted as rendering post content as HTML without stripping.
What version includes the referenced fix?
The provided release reference is for Postiz v2.26.1.