CVE-2026-141294 PUBLISHED

Stored cross-site scripting on the public post preview page through tooltip attributes

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

Postiz sanitizes post content when it is saved and again when the public preview page renders it, keeping only an allowlist of tags and attributes. The sanitizer still let every data and aria attribute through, whatever its name or value. The preview page includes a tooltip component that renders the HTML found in the data-tooltip-html attribute of any element in the page that refers to it.

A post containing an element with those tooltip attributes was therefore stored and rendered unchanged, and when a visitor moved the mouse over it, the tooltip inserted the attribute's markup into the page as live HTML. The script runs on the application's origin with the visitor's session.

Metrics

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

Product Status

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

Affected Configurations

The victim has to be signed in to the same instance as a member of another organization when opening the preview link.

Exploits

Exploitation was demonstrated against unmodified backend and frontend builds at commit 3a7d28b7ad96, with jsdom as the victim's browser: a draft saved by one organization, opened through its preview link by the owner of another, sent that organization's API key to an outside host. The chain was not observed in Chrome or Firefox.

Workarounds

Set DISABLE_REGISTRATION=true. The attacker needs an ordinary account, so closing self-registration limits exposure to people who already hold one. This reduces reach, it does not close the issue.

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-183 CWE

Impacts

  • Any registered user can run script in the session of a signed-in member of another organization who opens their post preview link and moves the mouse over the post, and act with that member's rights.
  • For an ADMIN or SUPERADMIN victim, the script can read the organization's API key, which authenticates the public API for that organization until it is rotated.