Bug 2508666 (CVE-2026-66805) - CVE-2026-66805 console: console: stored DOM XSS via unescaped pod logs in document.write
Summary: CVE-2026-66805 console: console: stored DOM XSS via unescaped pod logs in doc...
Keywords:
Status: NEW
Alias: CVE-2026-66805
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-29 20:58 UTC by OSIDB Bzimport
Modified: 2026-08-10 20:22 UTC (History)
23 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-29 20:58:11 UTC
The openRawTab function in LogsPage.tsx opens a new browser window and calls document.write(`<pre>${logs}</pre>`) with raw container stdout/stderr from a managed (spoke) cluster, fetched via the search/managed-cluster proxy. No HTML encoding is applied before document.write.

An attacker who can write to container logs on a spoke cluster (e.g. by controlling a pod's stdout) can inject arbitrary HTML/JavaScript that executes in the hub console user's browser session when they click "Raw" on the pod logs page. This enables session hijacking, credential theft, or actions on behalf of the console user.

Affected file: frontend/src/routes/Home/Search/Details/LogsPage.tsx (lines 108-111)

Fix branch: glasswing/f002
Engineering contact: Kevin Cormier
Jira: ACM-38692

Discovered by: Project Glasswing AI-SAST campaign (HP Mythos)


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