Reflected cross-site scripting in the login and registration error responses
Summary
| CVE | CVE-2026-141291 |
|---|---|
| State | PUBLISHED |
| Assigner | postiz |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 15:18:10 UTC |
| Updated | 2026-12-01 15:18:10 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 8.2 HIGH from 4cdc9741-f887-419a-a2fd-acbbd2729276
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 4cdc9741-f887-419a-a2fd-acbbd2729276 | Secondary | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| 3.1 | CNA | CVSS | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | GitroomHQ | Postiz-app | affected 2.20.0 2.26.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/gitroomhq/postiz-app | 4cdc9741-f887-419a-a2fd-acbbd2729276 | github.com | |
| gadvisory.org/advisories/PSA-2026-X4710P | 4cdc9741-f887-419a-a2fd-acbbd2729276 | gadvisory.org | |
| github.com/gitroomhq/postiz-app/releases/tag/v2.26.1 | 4cdc9741-f887-419a-a2fd-acbbd2729276 | github.com | |
| github.com/gitroomhq/postiz-app/commit/45f4757071afc38f497dbf271c56d54f5... | 4cdc9741-f887-419a-a2fd-acbbd2729276 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Anthropic, PBC (en)
CNA: Enno Gelhaus (en)
CNA: Enno Gelhaus (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-10-23T17:45:00.000Z | Anthropic has disclosed a thorough report of this vulnerability including a working PoC to Postiz |
| CNA | 2026-11-17T22:45:00.000Z | Postiz has confirmed the vulnerability and is working on a fix |
| CNA | 2026-12-01T13:45:00.000Z | Postiz has released the fix in v2.26.1. |
Solutions
CNA: Upgrade to Postiz v2.26.1 or later.
Workarounds
CNA: 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. The web app sends JSON; a cross-site form cannot.
CNA: At the reverse proxy, add X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none' to responses of the API paths.
Exploits
CNA: Exploitation was demonstrated against an unmodified backend build at commit 3a7d28b7ad96: a page on another origin submitted a form to the login endpoint, the signed-in member's browser ran the returned script, and the organization API key reached the attacker's server.