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.
Advisories

No advisories yet.

Fixes

Solution

Upgrade to Postiz v2.26.1 or later.


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. The web app sends JSON; a cross-site form cannot.

History

Tue, 01 Dec 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Reflected cross-site scripting in the login and registration error responses
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: postiz

Published:

Updated: 2026-12-01T16:28:10.444Z

Reserved: 2026-12-01T14:24:10.610Z

Link: CVE-2026-141291

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-01T15:18:10.267

Modified: 2026-12-01T17:17:37.140

Link: CVE-2026-141291

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses