CVE-2021-21619 XSS vulnerability in Jenkins Claim Plugin
Attackers can inject malicious scripts via user display names in the Jenkins Claim Plugin, potentially leading to session hijacking or code execution.
- 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-21619?
CVE-2021-21619 is a medium-severity cross-site scripting vulnerability in Jenkins Claim 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 Claim Plugin 2.18.1 and earlier does not escape the user display name, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers who are able to control the display names of Jenkins users, either via the security realm, or directly inside Jenkins.
Weakness: CWE-79
Which versions are affected by CVE-2021-21619?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:claim. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:claim Maven | All versions | 2.18.2 |
org.jenkins-ci.plugins:claim Maven | All versions | 2.18.2 |
Products include Jenkins Claim.
How do I fix CVE-2021-21619?
Upgrade org.jenkins-ci.plugins:claim to 2.18.2 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-21619 being exploited?
There is no known exploitation of CVE-2021-21619 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Claim Plugin
Sources
Also known as GHSA-48hr-jg4p-w4p4.