CVE-2022-4975 Rhacs: cross-site scripting in portal
An attacker can execute arbitrary scripts in the RHACS portal by injecting unsanitized data into table views, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-4975?
CVE-2022-4975 is a high-severity cross-site scripting vulnerability in Red Hat Advanced Cluster Security 3, published on 27 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2022-4975?
How do I fix CVE-2022-4975?
No fix has been published for CVE-2022-4975 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-4975 being exploited?
There is no known exploitation of CVE-2022-4975 in the wild and no public exploit code.
Sources
Also known as GHSA-whw8-9r74-7rm5.