CVE-2026-141291

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

Published Dec 1, 2026 CVSS 3.1 · 8.2 High EPSS n/a KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to Postiz v2.26.1 or later.


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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
postiz
Published
Updated
Dec 1, 2026, 4:28 PM
Reserved
Dec 1, 2026, 2:24 PM
Status
Received
Published
Dec 1, 2026, 3:18 PM
Modified
Dec 1, 2026, 5:17 PM