8.9high
Postiz stored XSS in public preview page
- Severity
- 8.9high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Postiz is an AI social media scheduling tool. From version 2.21.6 to before version 2.21.7, any authenticated user who can create a post can store arbitrary HTML in post content by tampering their own save request and send the public preview link /p/<postId>?share=true to another user. The preview page renders that stored HTML with dangerouslySetInnerHTML on the main application origin. This issue has been patched in version 2.21.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitroomhq postiz-app | >= 2.21.6, < 2.21.7 | CVE List |
| gitroom postiz | 2.21.6 | NVD |
All scores
| GitHub_M | 8.9high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L |
| NVD | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Postiz is an AI social media scheduling tool. From version 2.21.6 to before version 2.21.7, any authenticated user who can create a post can store arbitrary HTML in post content by tampering their own save request and send the public preview link /p/<postId>?share=true to another user. The preview page renders that stored HTML with dangerouslySetInnerHTML on the main application origin. This issue has been patched in version 2.21.7.
NVD (es)
Postiz es una herramienta de programación de redes sociales con IA. Desde la versión 2.21.6 hasta antes de la versión 2.21.7, cualquier usuario autenticado que puede crear una publicación puede almacenar HTML arbitrario en el contenido de la publicación manipulando su propia solicitud de guardado y enviar el enlace de vista previa pública /p/<postId>?share=true a otro usuario. La página de vista previa renderiza ese HTML almacenado con dangerouslySetInnerHTML en el origen principal de la aplicación. Este problema ha sido parcheado en la versión 2.21.7.
References
| https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-hhxq-3wg7-4rj8 | vendor-advisory | |
| https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.7 | product, release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42556 changed 2026-05-13 | CVE Terms of Use |
| NVD | CVE-2026-42556 changed 2026-07-24 | Public domain |