CVE-2020-12021 Cross-site scripting in OSIsoft PI Web API 2019

Critical 9.0 Published Updated

An attacker can execute arbitrary code via cross-site scripting in OSIsoft PI Web API, impacting industrial control system security.

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-12021?

CVE-2020-12021 is a critical cross-site scripting vulnerability in OSIsoft PI Web API 2019, published on 23 Jun 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In OSIsoft PI Web API 2019 Patch 1 (1.12.0.6346) and all previous versions, the affected product is vulnerable to a cross-site scripting attack, which may allow an attacker to remotely execute arbitrary code.

Weakness: CWE-79

Which versions are affected by CVE-2020-12021?

It affects 1 product.

Products include Osisoft Pi Web Api.

How do I fix CVE-2020-12021?

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

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

Sources

Also known as GHSA-q4j7-8h9j-7jxq.

Is CVE-2020-12021 in your software?

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

Check your SBOMs for free