CVE-2020-2190 Improper Neutralization of Input During Web Page Generation in Jenkins Script Security Plugin
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:script-security Maven | All versions | 1.73 |
org.jenkins-ci.plugins:script-security Maven | All versions | 1.73 |
Linux distribution packages (1)
jenkins-2-plugins Red Hat:openshift:4.5::el7 | All versions | 0: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.
Other vulnerabilities in Jenkins Script Security Plugin
- CVE-2019-1003029 Jenkins Script Security Plugin Sandbox Bypass
- CVE-2022-43401 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2022-43403 Jenkins Script Security Plugin sandbox bypass vulnerability
- CVE-2022-43404 Sandbox bypass vulnerabilities in Jenkins Script Security Plugin and in Pipeline: Groovy Plugin
- CVE-2020-2279 Sandbox bypass vulnerability in Jenkins Script Security Plugin
Sources
Also known as GHSA-q87g-7mp5-765q, RHSA-2020:3207.