Skip to content
PSA-2026-X4710PGCVE-125-2026-X4710PDecember 1, 2026
8.2 High

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

The login and registration endpoints returned error messages containing request data as HTML. A web page on any origin could submit a form to them and run script on the Postiz API origin in the browser of a signed-in member, without needing an account.

Affected (1)

  • GitroomHQpostiz-app
    • ≥ 2.20.0Fixed in 2.26.1

Mitigations

Workarounds

  • 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.
  • At the reverse proxy, add X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none' to responses of the API paths.

Solutions

  • Upgrade to Postiz v2.26.1 or later.

Exploits

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

Configurations

  • The default configuration is affected; no account and no setting is needed.
  • In the shipped container the API is served under /api on the application's own origin, so the script runs on the application origin. With a separate API host it runs on that host, which still receives the session cookie.

Overview

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.

Severity

CVSS v3
8.2 High
8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Weaknesses (1)

References (3)

Credits (3)

  • Anthropic, PBC
    Finder
  • Enno Gelhaus
    Coordinator · @egelhaus
  • Enno Gelhaus
    Remediation developer · @egelhaus

Context

Impacts

  • A web page on any origin, opened by a member who is signed in to Postiz, runs script on the origin that serves the Postiz API and can call any dashboard route with that member's rights.

  • For an ADMIN or SUPERADMIN, which every self-registered organization owner is, the script can read the organization's API key, which keeps working for the public API after the visit until it is rotated.

Timeline

  1. 10/23/2026 17:45

    Anthropic has disclosed a thorough report of this vulnerability including a working PoC to Postiz

  2. 11/17/2026 22:45

    Postiz has confirmed the vulnerability and is working on a fix

  3. 12/01/2026 13:45

    Postiz has released the fix in v2.26.1.

© 2026 Gelhaus Solutions