Bug 2542699 (CVE-2026-102295) - CVE-2026-102295 quay: quay: DOM-based cross-site scripting via OAuth local callback format=json parameter
Summary: CVE-2026-102295 quay: quay: DOM-based cross-site scripting via OAuth local ca...
Keywords:
Status: NEW
Alias: CVE-2026-102295
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-28 20:58 UTC by OSIDB Bzimport
Modified: 2026-10-05 15:23 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-28 20:58:20 UTC
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 access_token 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 access_token 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.


Note You need to log in before you can comment on or make changes to this bug.