Skip to content
HighVulnerability

CVE-2026-42556: Postiz stored HTML injection in public post preview page

Identifier
CVE-2026-42556
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

Postiz, an AI social media scheduling tool, versions 2.21.6 up to but not including 2.21.7, is affected by CVE-2026-42556. Any authenticated user who can create a post can store arbitrary HTML in post content by tampering with their own save request. The public preview page at /p/<postId>?share=true renders that HTML with dangerouslySetInnerHTML on the main application origin, so a link sent to another user executes the stored content there.

Mitigation

Fixed in version 2.21.7.