CVE-2021-21613 XSS vulnerability in Jenkins TICS Plugin
Attackers controlling TICS service responses can inject malicious scripts into Jenkins, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-21613?
CVE-2021-21613 is a medium-severity cross-site scripting vulnerability in Jenkins TICS Plugin, published on 13 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Jenkins TICS Plugin 2020.3.0.6 and earlier does not escape TICS service responses, resulting in a cross-site scripting (XSS) vulnerability exploitable by attackers able to control TICS service response content.
Weakness: CWE-79
Which versions are affected by CVE-2021-21613?
2 open source packages ship an affected version, including io.jenkins.plugins:tics. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.jenkins.plugins:tics Maven | All versions | 2020.3.0.7 |
io.jenkins.plugins:tics Maven | All versions | 2020.3.0.7 |
Products include Jenkins Tics.
How do I fix CVE-2021-21613?
Upgrade io.jenkins.plugins:tics to 2020.3.0.7 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-21613 being exploited?
There is no known exploitation of CVE-2021-21613 in the wild and no public exploit code.
Sources
Also known as GHSA-xmw5-45v9-pxqx.