CVE-2026-102295: Quay: quay: dom-based cross-site scripting via oauth local callback format=json parameter

Published Sep 28, 2026
·
Updated

A DOM-based cross-site scripting (XSS) flaw was found in Project Quay's OAuth local callback handler (OAuthLocalHandler.tsx). When the format=json query parameter is supplied, the component reads the accesstoken from the URL fragment and assigns it to document.body.innerHTML via JSON.stringify, which does not HTML-encode angle brackets. An attacker can craft a URL containing a malicious accesstoken in the fragment that, when clicked by a Quay user, executes arbitrary JavaScript in the Quay registry origin. The format=json code path bypasses OAuth state validation and requires no authentication.

Other sources

A flaw was found in Quay. A cross-site scripting (XSS) vulnerability in the OAuth callback handler allows a remote attacker to execute arbitrary JavaScript code within a user's browser session. By tricking a logged-in user into visiting a specially crafted link, an attacker can exploit improper input sanitization to run client-side scripts in the application context. Successful exploitation could allow the attacker to compromise the user's session, access sensitive registry information, or perform unauthorized actions on their behalf.

— MITRE

Affected Software

1 affected component
Project Quay Quay

Event History

Sep 28, 2026
Data Sourced
via Red Hat·08:58 PM
DescriptionSeverityAffected Software
Oct 5, 2026
CVE Published
via MITRE·05:02 PM
Data Sourced
via MITRE·05:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Any Quay user who visits an attacker-crafted OAuth local callback URL may be exposed. The impact is greatest for users with an active Quay session, because script execution occurs in the Quay registry origin and may allow actions in that user's context.

2

What does an attacker need to exploit it?

The attacker needs to convince a user to click or otherwise open a crafted URL containing a malicious access_token value in the URL fragment and the format=json query parameter. No authentication is required for the vulnerable code path, and the OAuth state validation is bypassed.

3

Is normal OAuth state validation a protection against this attack?

No. Supplying format=json reaches a code path that bypasses OAuth state validation.

4

How can I identify potentially vulnerable requests or exploit attempts?

Look for requests to the OAuth local callback handler with format=json in the query string. Exploit URLs also place the access_token payload in the URL fragment, although fragments are processed by the browser and are not normally sent to the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203