CVE-2020-15940 Cross-site scripting in Fortinet FortiClientEMS

Medium 4.1 Published Updated

Remote authenticated attackers can inject malicious scripts via the name parameter in FortiClient EMS, potentially leading to code execution or account takeover.

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-2020-15940?

CVE-2020-15940 is a medium-severity cross-site scripting vulnerability in Fortinet FortiClientEMS, published on 2 Nov 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

An improper neutralization of input vulnerability [CWE-79] in FortiClientEMS versions 6.4.1 and below and 6.2.9 and below may allow a remote authenticated attacker to inject malicious script/tags via the name parameter of various sections of the server.

Weakness: CWE-79

Which versions are affected by CVE-2020-15940?

It affects 1 product.

Products include Fortinet Forticlient Enterprise Management Server.

How do I fix CVE-2020-15940?

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

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

Sources

Also known as GHSA-4g23-3mc5-9qf9.

Is CVE-2020-15940 in your software?

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

Check your SBOMs for free