Description
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.
Published: 2026-10-05
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: Cross‑site scripting
Action: Assess Impact
AI Analysis

Impact

A flaw was discovered in Red Hat Quay 3 that allows a remote attacker to execute arbitrary JavaScript in a user’s browser through the OAuth callback handler when the callback URL includes a format=json parameter. The vulnerability arises from insufficient input sanitization of the callback format, which triggers a DOM‑based cross‑site scripting (XSS) flaw identified as CWE‑79. By persuading a logged‑in user to visit a specially crafted link, the attacker can run client‑side scripts in the application context, potentially hijacking the session, accessing registry data, or performing unauthorized actions on the user’s behalf.

Affected Systems

The affected product is Red Hat Quay, version 3. No specific sub‑versions are listed; the CVE references a generic Quay 3 installation.

Risk and Exploitability

The CVSS score of 5.4 indicates a medium severity XSS flaw, but the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. The attacker can remotely exploit the flaw by directing a victim to a maliciously formatted OAuth callback URL; no local privileges or physical access are required. Although the exploitation requires a logged‑in user to click the link, the impact on session integrity and confidentiality is significant enough to warrant timely remediation when a patch becomes available.

Generated by OpenCVE AI on October 5, 2026 at 18:27 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Apply the latest Red Hat Quay patch when it becomes available to eliminate the XSS vulnerability.
  • If possible, disable or restrict the OAuth callback endpoint, or limit it to trusted callback URLs, to reduce the attack surface.
  • Implement a content‑security‑policy header in the Quay deployment to block execution of unauthorized inline scripts.
  • Monitor user accounts and audit logs for anomalous activity that may indicate an XSS-based session hijack attempt.

Generated by OpenCVE AI on October 5, 2026 at 18:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 05 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Quay: quay: dom-based cross-site scripting via oauth local callback format=json parameter
First Time appeared Redhat
Redhat quay
Weaknesses CWE-79
CPEs cpe:/a:redhat:quay:3
Vendors & Products Redhat
Redhat quay
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-05T18:37:54.506Z

Reserved: 2026-09-28T20:56:50.471Z

Link: CVE-2026-102295

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-05T18:17:31.057

Modified: 2026-10-05T18:17:31.057

Link: CVE-2026-102295

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-05T18:30:19Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')