Postiz App reflected XSS in login and registration error responses
Postiz versions 2.20.0 up to the fix in 2.26.1 are affected in the default configuration, with no account or setting needed. Fixed in v2.26.1.
- Exploited
- No known exploitation
- Fix
- Fixed in 2.26.1
- Who is exposed
- Specific setups only
Summary
Written by a model
When a sign-in or registration request failed, Postiz sent the error message back as the response body with the default HTML content type. One of those messages included the requested authentication provider name exactly as it was sent, and both endpoints accepted cross-site form submissions, so a page on any site could post a provider name containing markup and have the browser render the answer as a document on the API origin.
Other errors returned by the same endpoints can also quote request data, so the issue was not limited to the provider name. The script runs with the member's session on that origin and can call any dashboard route the member may use.
Who should check
Teams running GitroomHQ postiz-app from 2.20.0 up to 2.26.1, including the shipped container and self-hosted deployments with a separate API host.
“≥ 2.20.0 → Fixed in 2.26.1”
What to do
Check whether your setup matches what the bug needs.
The default configuration is affected; no account and no setting is needed. Postiz versions from 2.20.0 up to the fix in 2.26.1. In the shipped container the API runs under /api on the application origin; with a separate API host, the script runs on that host.Upgrade to a fixed version: 2.26.1.
Workaround: At the reverse proxy, refuse POST /auth/login and POST /auth/register (under /api/ in the shipped container) unless the Content-Type is application/json. Also add X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none' to API path responses.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-141291 (Reflected cross-site scripting in the login and registration error responses), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-141291 (entry last updated 2026-12-01):
Affected:
- GitroomHQ postiz-app: from 2.20.0, fixed in 2.26.1
Fixed versions: 2.26.1.
Vendor patches: 45f4757 (source: https://www.cve.org/CVERecord?id=CVE-2026-141291). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- The default configuration is affected; no account and no setting is needed. (source: https://gadvisory.org/advisories/PSA-2026-X4710P)
- Postiz versions from 2.20.0 up to the fix in 2.26.1. (source: https://gadvisory.org/advisories/PSA-2026-X4710P)
- In the shipped container the API runs under /api on the application origin; with a separate API host, the script runs on that host. (source: https://gadvisory.org/advisories/PSA-2026-X4710P)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, a user action.
Workaround: At the reverse proxy, refuse POST /auth/login and POST /auth/register (under /api/ in the shipped container) unless the Content-Type is application/json. Also add X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none' to API path responses. (source: https://www.cve.org/CVERecord?id=CVE-2026-141291)
CISA KEV: CVE-2026-141291 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-141291 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://gadvisory.org/advisories/PSA-2026-X4710P
- https://github.com/gitroomhq/postiz-app/commit/45f4757071afc38f497dbf271c56d54f580dc07b
- https://github.com/gitroomhq/postiz-app
- https://github.com/gitroomhq/postiz-app/releases/tag/v2.26.1
- https://www.cve.org/CVERecord?id=CVE-2026-141291
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-141291
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-141291"}.Affected versions
- postiz-appFrom 2.20.0 · fixed in 2.26.1
cve.now Index
- Exploitation0/40No signal
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.2/10CVSS 8.2
- No patch0/5No signal
What would change the score
- Would score about 70 if added to CISA KEV
- Would score about 65 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-141291 |
| Record | NVD · CVE-2026-141291 |
| Other links 4 | |
| Advisory | gadvisory.org · advisories/PSA-2026-X4710P |
| Patch | GitHub · gitroomhq/postiz-app · Commit 45f47570 |
| Repository | GitHub · gitroomhq/postiz-app · Repository |
| Repository | GitHub · gitroomhq/postiz-app · Release v2.26.1 |
Questions about CVE-2026-141291
Is CVE-2026-141291 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The login and registration error responses reflect input back into the page without escaping, so a script can run in the browser of a signed-in member on the Postiz API origin. That script can call any dashboard route with the member's rights, and for admins the organization API key can be read.
Source: gadvisory.org, cve.org
Which versions are affected by CVE-2026-141291?
postiz-app: from 2.20.0 before 2.26.1.
Source: cve.now feed data
Am I affected, and how do I check?
Postiz versions from 2.20.0 up to the fix in 2.26.1 are affected, and the default configuration is affected with no account or setting needed. In the shipped container the API is served under /api on the application origin, so the script runs there; with a separate API host, the script runs on that host. Check the installed Postiz version against the 2.20.0 to 2.26.1 range.
Source: gadvisory.org, cve.org
How do I fix CVE-2026-141291?
Upgrade to Postiz v2.26.1 or later. The vendor's patch id for the fix is 45f4757.
Source: gadvisory.org, cve.org
Related
- CVE-2026-115933Forged signed tokens let any registered user take over other users and organizations
- CVE-2026-115931Arbitrary file read and backend crash through unrestricted provider method calls
- CVE-2026-48781Postiz has cross-tenant SUPERADMIN takeover via Skool-provider JWT forgery
- CVE-2026-19264Unauthenticated arbitrary file read via /uploads path traversal (URL-encoded separators) leading to instance takeover
- CVE-2026-115932Path traversal in post media lets any registered user read server files
- CVE-2026-94456Unauthenticated recovery of the Math.random() state behind OAuth tokens, authorization codes, client secrets and organization API keys
No corrections so far. Something wrong on this page? Report an error.