CVE-2017-4940 Cross-site scripting in ESXi

Medium 6.1 Published Updated

Stored XSS in VMware ESXi Host Client allows attackers to inject JavaScript executed by other users, potentially leading to session hijacking or malicious actions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2017-4940?

CVE-2017-4940 is a medium-severity cross-site scripting vulnerability in Vmware Esxi, published on 20 Dec 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The ESXi Host Client in VMware ESXi (6.5 before ESXi650-201712103-SG, 5.5 before ESXi600-201711103-SG and 5.5 before ESXi550-201709102-SG) contains a vulnerability that may allow for stored cross-site scripting (XSS). An attacker can exploit this vulnerability by injecting Javascript, which might get executed when other users access the Host Client.

Weakness: CWE-79

Which versions are affected by CVE-2017-4940?

It affects 1 product.

Products include Vmware Esxi.

How do I fix CVE-2017-4940?

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

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

All Vmware Esxi vulnerabilities

Sources

Also known as GHSA-29hc-rp6w-74v3.

Is CVE-2017-4940 in your software?

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

Check your SBOMs for free