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

Medium 5.4 Published Updated

Stored XSS in Jenkins ECharts API Plugin allows attackers to execute scripts via unescaped build display names, potentially compromising user sessions.

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

CVE-2020-2194 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 display name of the builds in the trend chart, resulting in a stored cross-site scripting vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2020-2194?

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

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

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

Sources

Also known as GHSA-q397-w28f-jx97.

Is CVE-2020-2194 in your software?

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

Check your SBOMs for free