CVE-2026-141289 PUBLISHED

Stored cross-site scripting in the post editor preview through entity-encoded markup

Assigner: postiz
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
CVSS Score: 6.9

Product Status

Vendor GitroomHQ
Product postiz-app
Versions Default: unaffected
  • affected from 2.6.4 to 2.26.1 (excl.)

Affected Configurations

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.

Exploits

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.

Workarounds

Follow only RSS feeds you control with Auto Post, and remove Auto Post feeds you do not control.

Solutions

Upgrade to Postiz v2.26.1 or later.

Credits

  • Anthropic, PBC finder
  • Enno Gelhaus coordinator
  • Enno Gelhaus remediation developer

References

Problem Types

  • CWE-79 CWE
  • CWE-116 CWE

Impacts

  • The owner of an RSS feed that an organization follows with Auto Post, without any Postiz account, can run script in the session of the member who opens the resulting draft in the editor, including reading the organization's API key when that member is an admin.
  • A team member with role USER can place the same text in a draft or a default signature and run script in an admin's session, obtaining data and actions that the role policies withhold from them, such as the organization's API key.