RHACS Portal XSS via Unsanitized Table InnerHTML on /main/configmanagement/*
CVE-2022-4975 Published on January 27, 2025

Rhacs: cross-site scripting in portal
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.

NVD

Vulnerability Analysis

CVE-2022-4975 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and a small impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
LOW

Timeline

Reported to Red Hat.

Made public. 1022 days later.

Weakness Type

What is a XSS Vulnerability?

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

CVE-2022-4975 has been classified to as a XSS vulnerability or weakness.


Products Associated with CVE-2022-4975

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-4975 are published in Red Hat Advanced Cluster Security:

 

Affected Versions

Red Hat Advanced Cluster Security 3:

Exploit Probability

EPSS
0.12%
Percentile
31.71%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.