CVE-2020-2190 Improper Neutralization of Input During Web Page Generation in Jenkins Script Security Plugin

Medium 5.4 Published Updated

Stored XSS in Jenkins Script Security Plugin allows attackers to execute arbitrary scripts in the context of other users.

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

CVE-2020-2190 is a medium-severity cross-site scripting vulnerability in Jenkins Script Security 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 Script Security Plugin 1.72 and earlier does not correctly escape pending or approved classpath entries on the In-process Script Approval page, resulting in a stored cross-site scripting vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2020-2190?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:script-security. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:script-security MavenAll versions1.73
org.jenkins-ci.plugins:script-security MavenAll versions1.73
Linux distribution packages (1)
jenkins-2-plugins Red Hat:openshift:4.5::el7All versions0:4.5.1595405982-1.el7

Products include Jenkins Script Security.

How do I fix CVE-2020-2190?

Upgrade org.jenkins-ci.plugins:script-security to 1.73 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-2190 being exploited?

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

Sources

Also known as GHSA-q87g-7mp5-765q, RHSA-2020:3207.

Is CVE-2020-2190 in your software?

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

Check your SBOMs for free