← back
CVE-2026-33506

DOM-Based XSS in Ory Polis Login Page

CVSS 8.8 HIGHEPSS 0.4%CWE-601CWE-87
In short

Ory Polis login page has a security flaw where attackers can inject malicious links that redirect users and run harmful code in their browser. If a user clicks the link, their login credentials or sensitive information could be stolen.

Technical detail

DOM-based XSS vulnerability in Ory Polis (pre-26.2.0) via unsanitized `callbackUrl` URL parameter passed to `router.push`, allowing an attacker to craft malicious links that execute arbitrary JavaScript in authenticated or subsequently-authenticating users' browsers, enabling credential theft and session hijacking. Attack requires user interaction (clicking a crafted link) but no prior authentication from the attacker.

Summary generated and translated by AI from the official description.
Ory Polis, formerly known as BoxyHQ Jackson, bridges or proxies a SAML login flow to OAuth 2.0 or OpenID Connect. Versions prior to 26.2.0 contain a DOM-based Cross-Site Scripting (XSS) vulnerability in Ory Polis's login functionality. The application improperly trusts a URL parameter (`callbackUrl`), which is passed to `router.push`. An attacker can craft a malicious link that, when opened by an authenticated user (or an unauthenticated user that later logs in), performs a client-side redirect and executes arbitrary JavaScript in the context of their browser. This could lead to credential theft, internal network pivoting, and unauthorized actions performed on behalf of the victim. Version 26.2.0 contains a patch for the issue.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
Affected products
ory · polis

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →