CVE-2020-2227 Stored XSS vulnerability in Jenkins Deployer Framework Plugin
Stored cross-site scripting in Jenkins Deployer Framework Plugin allows attackers to execute arbitrary scripts in victim browsers.
- 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-2227?
CVE-2020-2227 is a medium-severity cross-site scripting vulnerability in Jenkins Deployer Framework Plugin, published on 15 Jul 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 Deployer Framework Plugin 1.2 and earlier does not escape the URL displayed in the build home page, resulting in a stored cross-site scripting vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2020-2227?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:deployer-framework. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:deployer-framework Maven | All versions | 1.3 |
org.jenkins-ci.plugins:deployer-framework Maven | All versions | 1.3 |
Products include Jenkins Deployer Framework.
How do I fix CVE-2020-2227?
Upgrade org.jenkins-ci.plugins:deployer-framework to 1.3 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-2227 being exploited?
There is no known exploitation of CVE-2020-2227 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Deployer Framework Plugin
- CVE-2022-36889 Jenkins Deployer Framework Plugin does not restrict application path of applications when configuring a deployment
- CVE-2022-36890 Jenkins Deployer Framework Plugin vulnerable to Path Traversal
- CVE-2022-36891 Jenkins Deployer Framework Plugin allows attackers with Item/Read permission to read deployment logs
Sources
Also known as GHSA-cfvw-84vq-43mx.