CVE-2026-33506: CWE-87: Improper Neutralization of Alternate XSS Syntax in ory polis
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.
AI Analysis
Technical Summary
CVE-2026-33506 is a DOM-based Cross-Site Scripting vulnerability in Ory Polis, a software component that proxies SAML login flows to OAuth 2.0 or OpenID Connect. The vulnerability stems from the application's unsafe handling of the 'callbackUrl' URL parameter, which is directly passed to the client-side router.push function without proper sanitization or validation. This improper neutralization of alternate XSS syntax (CWE-87) allows an attacker to craft a malicious URL that, when visited by an authenticated user or a user who subsequently logs in, triggers execution of arbitrary JavaScript in the victim's browser context. This can lead to theft of authentication credentials, session hijacking, and unauthorized actions performed on behalf of the victim. Additionally, attackers may leverage this access to pivot into internal networks. The vulnerability affects all versions of Ory Polis prior to 26.2.0, which includes the formerly named BoxyHQ Jackson product. The patch in version 26.2.0 corrects the handling of the callbackUrl parameter to prevent injection of malicious scripts. The vulnerability has a CVSS v3.1 base score of 8.8, indicating a high severity with network attack vector, low attack complexity, no privileges required, but requiring user interaction. Although no exploits have been reported in the wild, the vulnerability's nature and impact make it a critical risk for organizations relying on Ory Polis for identity federation and authentication bridging.
Potential Impact
The impact of CVE-2026-33506 is significant for organizations using Ory Polis in their authentication infrastructure. Successful exploitation can lead to client-side script execution in the context of the victim's browser, enabling attackers to steal sensitive credentials such as session tokens or cookies. This can result in unauthorized access to protected resources and user accounts. Furthermore, attackers may perform actions on behalf of the victim, potentially escalating privileges or manipulating application workflows. The ability to pivot into internal networks increases the risk of lateral movement and further compromise within an organization's environment. The vulnerability affects the confidentiality, integrity, and availability of systems relying on Ory Polis for authentication. Given the network attack vector and no requirement for privileges, the threat can be exploited remotely by enticing users to click malicious links, increasing the attack surface. Organizations with high-value targets or sensitive data are at elevated risk, especially if they have not applied the patch in version 26.2.0.
Mitigation Recommendations
To mitigate CVE-2026-33506, organizations should immediately upgrade Ory Polis to version 26.2.0 or later, where the vulnerability is patched. Until the upgrade is applied, implement strict input validation and sanitization on the 'callbackUrl' parameter to prevent injection of malicious scripts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Monitor web traffic and logs for suspicious URL parameters or unusual redirect patterns that could indicate exploitation attempts. Educate users about the risks of clicking untrusted links, especially those related to authentication flows. Additionally, consider implementing multi-factor authentication (MFA) to reduce the impact of credential theft. Conduct regular security assessments and penetration testing focused on authentication components to detect similar vulnerabilities. Finally, maintain an incident response plan to quickly address any exploitation attempts.
Affected Countries
United States, Germany, United Kingdom, France, Canada, Australia, Netherlands, Sweden, Japan, South Korea
CVE-2026-33506: CWE-87: Improper Neutralization of Alternate XSS Syntax in ory polis
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 v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-33506 is a DOM-based Cross-Site Scripting vulnerability in Ory Polis, a software component that proxies SAML login flows to OAuth 2.0 or OpenID Connect. The vulnerability stems from the application's unsafe handling of the 'callbackUrl' URL parameter, which is directly passed to the client-side router.push function without proper sanitization or validation. This improper neutralization of alternate XSS syntax (CWE-87) allows an attacker to craft a malicious URL that, when visited by an authenticated user or a user who subsequently logs in, triggers execution of arbitrary JavaScript in the victim's browser context. This can lead to theft of authentication credentials, session hijacking, and unauthorized actions performed on behalf of the victim. Additionally, attackers may leverage this access to pivot into internal networks. The vulnerability affects all versions of Ory Polis prior to 26.2.0, which includes the formerly named BoxyHQ Jackson product. The patch in version 26.2.0 corrects the handling of the callbackUrl parameter to prevent injection of malicious scripts. The vulnerability has a CVSS v3.1 base score of 8.8, indicating a high severity with network attack vector, low attack complexity, no privileges required, but requiring user interaction. Although no exploits have been reported in the wild, the vulnerability's nature and impact make it a critical risk for organizations relying on Ory Polis for identity federation and authentication bridging.
Potential Impact
The impact of CVE-2026-33506 is significant for organizations using Ory Polis in their authentication infrastructure. Successful exploitation can lead to client-side script execution in the context of the victim's browser, enabling attackers to steal sensitive credentials such as session tokens or cookies. This can result in unauthorized access to protected resources and user accounts. Furthermore, attackers may perform actions on behalf of the victim, potentially escalating privileges or manipulating application workflows. The ability to pivot into internal networks increases the risk of lateral movement and further compromise within an organization's environment. The vulnerability affects the confidentiality, integrity, and availability of systems relying on Ory Polis for authentication. Given the network attack vector and no requirement for privileges, the threat can be exploited remotely by enticing users to click malicious links, increasing the attack surface. Organizations with high-value targets or sensitive data are at elevated risk, especially if they have not applied the patch in version 26.2.0.
Mitigation Recommendations
To mitigate CVE-2026-33506, organizations should immediately upgrade Ory Polis to version 26.2.0 or later, where the vulnerability is patched. Until the upgrade is applied, implement strict input validation and sanitization on the 'callbackUrl' parameter to prevent injection of malicious scripts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Monitor web traffic and logs for suspicious URL parameters or unusual redirect patterns that could indicate exploitation attempts. Educate users about the risks of clicking untrusted links, especially those related to authentication flows. Additionally, consider implementing multi-factor authentication (MFA) to reduce the impact of credential theft. Conduct regular security assessments and penetration testing focused on authentication components to detect similar vulnerabilities. Finally, maintain an incident response plan to quickly address any exploitation attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-20T16:59:08.888Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69c589313c064ed76fb167d5
Added to database: 03/26/2026, 19:29:53 UTC
Last enriched: 03/26/2026, 19:44:51 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 153
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.