# GHSA-5P8C-FF57-JHW8: Stored cross-site scripting on the public post preview page through tooltip attributes

- Database: GitHub
- Severity: CVSS 7.6 (High)
- Published: 2026-12-01
- Modified: 2026-12-01

## Tracked as

- [CVE-2026-141294](https://cve.now/CVE-2026-141294.md): Postiz App cross-site scripting in post preview tooltips

## Description

## Description

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.

## Timeline

- 2026-10-23 17:45 UTC - Anthropic has disclosed a thorough report of this vulnerability including a working PoC to Postiz
- 2026-11-17 22:45 UTC - Postiz has confirmed the vulnerability and is working on a fix
- 2026-12-01 13:45 UTC - Postiz has released the fix in v2.26.1.

## 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.

## Mitigations

- Upgrade to Postiz v2.26.1 or later.

## Known 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.

## Vulnerable configurations

- Self-registration is open unless DISABLE_REGISTRATION is set to true; the attacker needs an ordinary account with one connected channel.
- The victim has to be signed in to the same instance as a member of another organization when opening the preview link.

## Impact

- 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.

## References

- [11c3250](https://github.com/gitroomhq/postiz-app/commit/11c325045ae55cbb0573c106bd6def217cd633a3)
- [Postiz](https://github.com/gitroomhq/postiz-app)
- [v2.26.1](https://github.com/gitroomhq/postiz-app/releases/tag/v2.26.1)
- [GAdvisory](https://gadvisory.org/advisories/PSA-2026-5N2BTF)

## Credits

- Anthropic, PBC (finder)

<!-- gadvisory-ref:PSA-2026-5N2BTF -->

## References

- https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-5p8c-ff57-jhw8

Page: https://cve.now/GHSA-5P8C-FF57-JHW8

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
