{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-141291","assignerOrgId":"4cdc9741-f887-419a-a2fd-acbbd2729276","state":"PUBLISHED","assignerShortName":"postiz","dateReserved":"2026-12-01T14:24:10.610Z","datePublished":"2026-12-01T14:24:11.442Z","dateUpdated":"2026-12-01T16:28:10.444Z"},"containers":{"cna":{"providerMetadata":{"orgId":"4cdc9741-f887-419a-a2fd-acbbd2729276","shortName":"postiz","dateUpdated":"2026-12-01T14:24:11.442Z"},"title":"Reflected cross-site scripting in the login and registration error responses","descriptions":[{"lang":"en","value":"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.\n\nOther 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."}],"affected":[{"vendor":"GitroomHQ","product":"postiz-app","packageName":"postiz-app","defaultStatus":"unaffected","versions":[{"version":"2.20.0","status":"affected","versionType":"semver","lessThan":"2.26.1"}],"repo":"https://github.com/gitroomhq/postiz-app"}],"references":[{"url":"https://github.com/gitroomhq/postiz-app","tags":["product"],"name":"Postiz"},{"url":"https://github.com/gitroomhq/postiz-app/commit/45f4757071afc38f497dbf271c56d54f580dc07b","tags":["patch"],"name":"45f4757"},{"url":"https://github.com/gitroomhq/postiz-app/releases/tag/v2.26.1","tags":["release-notes"],"name":"v2.26.1"},{"url":"https://gadvisory.org/advisories/PSA-2026-X4710P","tags":["vendor-advisory"],"name":"GAdvisory"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","baseScore":8.2,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-79","cweId":"CWE-79","type":"CWE"}]}],"credits":[{"lang":"en","value":"Anthropic, PBC","type":"finder"},{"lang":"en","value":"Enno Gelhaus","type":"coordinator"},{"lang":"en","value":"Enno Gelhaus","type":"remediation developer"}],"datePublic":"2026-12-01T14:23:37.660Z","workarounds":[{"lang":"en","value":"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."},{"lang":"en","value":"At the reverse proxy, add X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none' to responses of the API paths."}],"solutions":[{"lang":"en","value":"Upgrade to Postiz v2.26.1 or later."}],"exploits":[{"lang":"en","value":"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":[{"lang":"en","value":"The default configuration is affected; no account and no setting is needed."},{"lang":"en","value":"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."}],"impacts":[{"descriptions":[{"lang":"en","value":"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."}]},{"descriptions":[{"lang":"en","value":"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":[{"time":"2026-10-23T17:45:00.000Z","lang":"en","value":"Anthropic has disclosed a thorough report of this vulnerability including a working PoC to Postiz"},{"time":"2026-11-17T22:45:00.000Z","lang":"en","value":"Postiz has confirmed the vulnerability and is working on a fix"},{"time":"2026-12-01T13:45:00.000Z","lang":"en","value":"Postiz has released the fix in v2.26.1."}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-01T16:15:49.707374Z","id":"CVE-2026-141291","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-01T16:28:10.444Z"}}]}}