CVE-2020-2193 Stored XSS vulnerability in Jenkins ECharts API Plugin

Medium 5.4 Published Updated

Stored cross-site scripting in Jenkins ECharts API Plugin allows attackers to execute arbitrary scripts in victim browsers via unescaped parser identifiers.

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
Available

What is CVE-2020-2193?

CVE-2020-2193 is a medium-severity cross-site scripting vulnerability in Jenkins ECharts API Plugin, published on 3 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

Jenkins ECharts API Plugin 4.7.0-3 and earlier does not escape the parser identifier when rendering charts, resulting in a stored cross-site scripting vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2020-2193?

2 open source packages ship an affected version, including io.jenkins.plugins:echarts-api. It affects 1 product.

PackageAffectedFixed in
io.jenkins.plugins:echarts-api MavenAll versions4.7.0-4
io.jenkins.plugins:echarts-api MavenAll versions4.7.0-4

Products include Jenkins Echarts Api.

How do I fix CVE-2020-2193?

Upgrade io.jenkins.plugins:echarts-api to 4.7.0-4 or later.

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-2193 being exploited?

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

Sources

Also known as GHSA-x9rq-9h44-f84v.

Is CVE-2020-2193 in your software?

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

Check your SBOMs for free