Bug 2071527 (CVE-2022-4975)

Summary: CVE-2022-4975 RHACS: Cross-site scripting in portal
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Red Hat Advanced Cluster Security (RHACS) portal. When rendering a table view in the portal, for example, on any of the /main/configmanagement/* endpoints, the front-end generates a DOM table-element (id="pdf-table"). This information is then populated with unsanitized data using innerHTML. An attacker with some control over the data rendered can trigger a cross-site scripting (XSS) vulnerability.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2053277    

Description Avinash Hanwate 2022-04-04 06:18:16 UTC
A cross-site scripting vulnerability is present in Red Hat Advanced Cluster Security (RHACS) portal.
When rendering a table-view in the portal, (e.g. on any of the endpoints /main/configmanagement/*), the front-end generates a DOM table-element (id="pdf-table"). This is then populated with _unsanitized_ data using innerHTML. Since an attacker has some control over the data rendered, this makes it vulnerable to an XSS-attack.