CVE-2026-102576: Quay: quay: dom-based cross-site scripting via unvalidated redirect_url on signin page
A DOM-based cross-site scripting flaw was found in Project Quay's signin page (Signin.tsx). After a user completes a successful direct database login, the component reads the redirecturl query parameter and assigns it to window.location.href without validating the URL scheme or origin. An attacker can set redirecturl to a javascript: URI, causing arbitrary JavaScript execution in the authenticated Quay session after login. Exploitation requires the target deployment to use database authentication and the user to successfully authenticate through the crafted URL.
Other sources
A flaw was found in Quay. A remote attacker could trick a user into logging in through a crafted link, resulting in cross-site scripting (XSS). Because the application does not validate the redirect destination before navigating, this flaw allows the execution of arbitrary script in the context of the victim's authenticated browser session. Successful exploitation requires the target Quay deployment to use direct database authentication and the victim to complete login through the malicious URL.
— MITRE
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using direct database authentication are exposed. Exploitation depends on a user successfully completing a database login through an attacker-crafted signin URL.
What must an attacker do to exploit the flaw?
The attacker must convince a user to open a crafted signin link containing a redirect_url parameter set to a javascript: URI. The user must then successfully authenticate, after which script executes in that user's authenticated Quay browser session.
Is user interaction required?
Yes. The victim must be tricked into using the crafted link and must complete the login process; the issue does not execute solely from an unauthenticated remote request.