Reflected cross-site scripting in the login and registration error responses

Summary

CVECVE-2026-141291
StatePUBLISHED
Assignerpostiz
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-01 15:18:10 UTC
Updated2026-12-01 15:18:10 UTC
DescriptionWhen 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


VersionSourceTypeScoreSeverityVector
3.14cdc9741-f887-419a-a2fd-acbbd2729276Secondary8.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
3.1CNACVSS8.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA GitroomHQ Postiz-app affected 2.20.0 2.26.1 semver Not specified

References

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2026-10-23T17:45:00.000ZAnthropic has disclosed a thorough report of this vulnerability including a working PoC to Postiz
CNA2026-11-17T22:45:00.000ZPostiz has confirmed the vulnerability and is working on a fix
CNA2026-12-01T13:45:00.000ZPostiz 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report