CVE-2021-21630 Stored XSS vulnerability in Jenkins Extra Columns Plugin
Stored XSS in Jenkins Extra Columns Plugin allows attackers with Job/Configure permission to execute scripts in other users' 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-2021-21630?
CVE-2021-21630 is a medium-severity cross-site scripting vulnerability in Jenkins Extra Columns Plugin, published on 30 Mar 2021. 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 Extra Columns Plugin 1.22 and earlier does not escape parameter values in the build parameters column, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.
Weakness: CWE-79
Which versions are affected by CVE-2021-21630?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:extra-columns. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:extra-columns Maven | All versions | 1.23 |
org.jenkins-ci.plugins:extra-columns Maven | All versions | 1.23 |
Products include Jenkins Extra Columns.
How do I fix CVE-2021-21630?
Upgrade org.jenkins-ci.plugins:extra-columns to 1.23 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-2021-21630 being exploited?
There is no known exploitation of CVE-2021-21630 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Extra Columns Plugin
Sources
Also known as GHSA-wx66-pm7r-2q82.