Skip to main content

Postiz CVE-2026-42556

CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 GitHub_M
9.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as post-creating user
  2. Delivery
    Tamper save request to store HTML payload
  3. Exploit
    Send /p/<postId>?share=true link to victim
  4. Execution
    Victim opens public preview page
  5. Persist
    Stored HTML runs via dangerouslySetInnerHTML on app origin
  6. Impact
    Hijack session / act as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) an authenticated Postiz account with permission to create posts, (2) tampering the client's own post-save request to bypass the UI and store raw HTML in post content, and (3) a victim who opens the attacker's public preview link /p/<postId>?share=true, which renders the stored HTML via dangerouslySetInnerHTML on the main application origin. Limiting factors: it is not unauthenticated (PR:L - an account is needed), it depends on victim user interaction (UI:R - the target must click the shared preview link), and it is only present in versions 2.21.6 up to 2.21.7. These conditions make it a targeted social-engineering attack rather than an unauthenticated drive-by, which is why SSVC marks it Automatable: no.

Impact

The signals are mixed and warrant nuance. CVSS 3.1 rates this 8.9 (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L) - the high score is driven mainly by the scope change (S:C) and same-origin script execution, not by ease of mass exploitation. Counterbalancing this, EPSS is only 0.04% (12th percentile) and CISA SSVC records Exploitation: none and Automatable: no, meaning no observed exploitation and no evidence of reliable automation. The attack requires an authenticated account that can create posts (PR:L) and victim interaction with the crafted preview link (UI:R), so it is a targeted, social-engineering-dependent vector rather than a wormable internet-wide threat. Net assessment: genuinely high impact if triggered (session hijack on the app origin, SSVC technical impact 'total'), but real-world likelihood is moderate-to-low and opportunistic - prioritize patching for multi-tenant or shared Postiz instances where untrusted users can register, and treat single-operator self-hosted instances as lower urgency.

Exploit ScenarioDerived

An attacker registers or uses an existing low-privilege Postiz account, creates a post, and intercepts the save request to store an HTML/JavaScript payload in the post content that would normally be escaped. They then send the victim the public preview link /p/<postId>?share=true; when the victim opens it, the payload executes on the main Postiz origin and can steal session tokens or perform in-app actions as the victim. No public POC is identified, but AV:N/AC:L makes crafting the tampered request straightforward for anyone with an account.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Stored cross-site scripting in Postiz (gitroomhq/postiz-app) versions 2.21.6 through 2.21.6 lets any authenticated user who can create a post inject arbitrary HTML into post content by tampering with their own save request, then weaponize it via the public preview link /p/<postId>?share=true. Because the preview page renders the stored markup with dangerouslySetInnerHTML on the main application origin, a shared link executes attacker JavaScript in a victim's authenticated session context. There is no public exploit identified at time of analysis and EPSS is very low (0.04%), but SSVC rates the technical impact as total; the issue is fixed in 2.21.7.

RemediationAI

Vendor-released patch: upgrade to Postiz 2.21.7, which the vendor flags as an immediate-upgrade security release (https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.7 and advisory GHSA-hhxq-3wg7-4rj8). If you cannot upgrade immediately, apply compensating controls: restrict or disable the public preview feature (the /p/<postId>?share=true share route) so stored content cannot be rendered to other users - trade-off is loss of shareable previews; front the app with a WAF or reverse-proxy rule that strips/escapes HTML in post-save requests and blocks script-bearing preview responses - trade-off is possible false positives on legitimate rich content; and tighten account provisioning so only trusted users can create posts, since exploitation requires an authenticated post-creating account. Adding a strict Content-Security-Policy (disallowing inline script on the app origin) reduces impact of any injected markup, though it may break existing inline UI behavior and is a defense-in-depth measure, not a full fix.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Postiz is a self-hostable AI-driven social-media scheduling platform (Node/React). The flaw is a classic CWE-79 stored XSS: user-controlled post content is persisted without sanitization and later injected into the DOM through React's dangerouslySetInnerHTML, which deliberately bypasses React's default HTML escaping. The critical amplifier is that the vulnerable render occurs on the /p/<postId> public preview route served from the main application origin rather than a sandboxed domain, so injected script runs with the same-origin privileges of the Postiz app (cookies, localStorage tokens, in-app API access). The affected package is identified in CPE as cpe:2.3:a:gitroomhq:postiz-app.

Know when Postiz App gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.0 CRITICAL
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 8.7 HIGH

Authenticated user can inject (PR:L) but needs victim to open the shared link (UI:R); same-origin script execution changes scope (S:C) yielding high C/I, with no real availability impact (A:N).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Severity Changed
Jul 24, 2026 - 21:22 NVD
HIGH CRITICAL
CVSS changed
Jul 24, 2026 - 21:22 NVD
8.9 (HIGH) 9.0 (CRITICAL)
CVE Published
May 08, 2026 - 22:28 nvd
HIGH 8.9

DescriptionNVD

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.

Executive ViewAI

Why It Matters

Postiz 2.21.6 allows any authenticated user to inject malicious code into posts that executes in other users' authenticated sessions when preview links are shared, enabling potential account compromise or unauthorized manipulation of social media campaigns. Though no active exploitation has been observed, the vulnerability poses a significant session-level risk to all users in organizations operating this version. Immediate upgrade to Postiz 2.21.7 is required.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Low
niche self-hosted open-source social scheduling app, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)NVD

cpe:2.3:a:gitroomhq:postiz-app:*:*:*:*:*:*:*:*
CVE-2026-40487 CRITICAL POC
9.0 Apr 18

File upload validation bypass in Postiz social media scheduler (versions before 2.21.6) allows authenticated users to up

CVE-2026-115931 CRITICAL
9.9 Oct 23

Postiz (gitroomhq/postiz-app) before v2.25.1 allows any signed-in user to invoke arbitrary internal integration methods

CVE-2026-48781 CRITICAL
9.9 Jun 16

Privilege escalation to SUPERADMIN in Postiz (gitroomhq/postiz-app) versions prior to 2.21.8 allows any authenticated us

CVE-2026-115933 CRITICAL
9.9 Oct 24

Improper token-purpose validation in Postiz (gitroomhq/postiz-app) through v2.25.2 allows any authenticated user holding

CVE-2026-42298 CRITICAL
9.8 May 08

Arbitrary code execution and privileged token theft affects Postiz (gitroomhq/postiz-app) prior to commit da44801 throug

CVE-2026-115932 CRITICAL
9.6 Oct 24

Postiz instances older than v2.25.3 that store media on local disk let a registered user have the publishing worker read

CVE-2026-19264 CRITICAL
9.3 Aug 07

Arbitrary file read in Postiz (gitroomhq/postiz-app before 2.22.1) lets an unauthenticated remote attacker retrieve any

CVE-2026-94456 CRITICAL
9.1 Sep 22

Predictable, non-cryptographic credential generation in Postiz (gitroomhq/postiz-app, all versions prior to v2.24.0) all

CVE-2026-34577 HIGH
8.6 Apr 02

Server-side request forgery in Postiz AI social media scheduling tool (versions < 2.21.3) allows unauthenticated remote

CVE-2026-34576 HIGH
8.3 Apr 02

Server-side request forgery (SSRF) in Postiz social media scheduling tool versions prior to 2.21.3 allows authenticated

CVE-2026-40168 HIGH
8.2 Apr 10

Server-side request forgery in Postiz (gitroomhq postiz-app) versions prior to 2.21.5 allows unauthenticated remote atta

CVE-2026-48799 HIGH
7.7 Jul 15

Business-logic authentication bypass in Postiz self-hosted AI social media scheduler (gitroomhq/postiz-app) before 2.21.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy