CVE-2021-22021 Cross-site scripting in VMware vRealize Log Insight

Medium 5.4 Published Updated

An attacker with user privileges can inject malicious scripts into shared dashboards, leading to code execution or account takeover when victims access the link.

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-2021-22021?

CVE-2021-22021 is a medium-severity cross-site scripting vulnerability in Vmware Cloud Foundation, published on 30 Aug 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

VMware vRealize Log Insight (8.x prior to 8.4) contains a Cross Site Scripting (XSS) vulnerability due to improper user input validation. An attacker with user privileges may be able to inject a malicious payload via the Log Insight UI which would be executed when the victim accesses the shared dashboard link.

Weakness: CWE-79

Which versions are affected by CVE-2021-22021?

It affects 2 products.

Products include Vmware Cloud Foundation, Vmware Vrealize Log Insight.

How do I fix CVE-2021-22021?

No fix has been published for CVE-2021-22021 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-2021-22021 being exploited?

There is no known exploitation of CVE-2021-22021 in the wild and no public exploit code.

All Vmware Cloud Foundation vulnerabilities

Sources

Also known as GHSA-mw4g-p3x5-fwh9.

Is CVE-2021-22021 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free