CVE-2021-21616 Stored XSS vulnerability in Jenkins Active Choices Plugin
Attackers with Job/Configure permission can inject malicious scripts via unescaped reference parameters, leading to stored XSS in Jenkins Active Choices Plugin.
- 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-21616?
CVE-2021-21616 is a medium-severity cross-site scripting vulnerability in Jenkins Active Choices Plugin, published on 24 Feb 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 Active Choices Plugin 2.5.2 and earlier does not escape reference parameter values, 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-21616?
2 open source packages ship an affected version, including org.biouno:uno-choice. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.biouno:uno-choice Maven | All versions | 2.5.3 |
org.biouno:uno-choice Maven | All versions | 2.5.3 |
Products include Jenkins Active Choices.
How do I fix CVE-2021-21616?
Upgrade org.biouno:uno-choice to 2.5.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-2021-21616 being exploited?
There is no known exploitation of CVE-2021-21616 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Active Choices Plugin
Sources
Also known as GHSA-4f6x-g5vh-8jm5.