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

Published May 8, 2026
·
Updated

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 Software

2 affected components
Postiz Postiz>=2.21.6<2.21.7
Gitroom Postiz=2.21.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Postiz to a version that resolves this vulnerability.

    Fixed in 2.21.7

Event History

May 8, 2026
CVE Published
via MITRE·10:28 PM
Data Sourced
via MITRE·10:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-42556?

CVE-2026-42556 is categorized as a medium severity stored XSS vulnerability affecting Postiz versions 2.21.6 before 2.21.7.

2

How do I fix CVE-2026-42556?

To address CVE-2026-42556, upgrade to Postiz version 2.21.7 or later.

3

Who is affected by CVE-2026-42556?

Any authenticated user of Postiz versions 2.21.6 to before 2.21.7 can be affected by CVE-2026-42556.

4

What is the nature of CVE-2026-42556?

CVE-2026-42556 is a stored cross-site scripting (XSS) vulnerability that allows arbitrary HTML to be stored in post content.

5

How can attackers exploit CVE-2026-42556?

Attackers can exploit CVE-2026-42556 by manipulating save requests to include malicious HTML in posts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203