# CVE-2026-42556: Postiz stored XSS in public preview page

- Severity: High 8.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-05-08T22:28:33.086Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- gitroomhq postiz-app: >= 2.21.6, < 2.21.7
- gitroom postiz: 2.21.6

## Every score

- GitHub_M: CVSS:3.1 8.9 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

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

- CVE List: [CVE-2026-42556](https://www.cve.org/CVERecord?id=CVE-2026-42556), CVE Terms of Use, modified 2026-05-13
- NVD: [CVE-2026-42556](https://nvd.nist.gov/vuln/detail/CVE-2026-42556), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42556 · Whole record: https://cve.day/CVE-2026-42556.json · Rebuilt by cve.day 2026-11-25T22:59:21.127Z
