CVE-2021-21613: XSS vulnerability in Jenkins TICS Plugin

io.jenkins.plugins:tics Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
6.1

CVE-2021-21613: XSS vulnerability in Jenkins TICS Plugin. Affects io.jenkins.plugins:tics versions < 2020.3.0.7. Fixed in 2020.3.0.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins TICS Plugin is a Maven package that provides integration with the TICS service. It allows users to analyze and manage their code quality and compliance. The plugin interacts with the TICS service to retrieve and display information. However, versions 2020.3.0.6 and earlier of the TICS Plugin do not properly escape the TICS service responses, leading to a cross-site scripting (XSS) vulnerability. This vulnerability can be exploited by attackers who can control the content of the TICS service response. The issue has been addressed in version 2020.3.0.7 of the TICS Plugin, which escapes or strips HTML from the TICS service responses as necessary.

Vulnerability Detail

The XSS vulnerability in the Jenkins TICS Plugin arises from the failure to properly escape TICS service responses. Attackers who can manipulate the content of the TICS service response can inject malicious scripts into the plugin's output. This can lead to various consequences, including the execution of arbitrary code in the context of the user's browser, unauthorized access to sensitive information, and potential further attacks against users of the affected Jenkins instance. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

2020.3.0.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version of the TICS Plugin as soon as possible.

Conclusion

The XSS vulnerability in the Jenkins TICS Plugin (CVE-2021-21613) allows attackers to execute arbitrary code in the user's browser, potentially leading to unauthorized access to sensitive information and further attacks. Users should upgrade to version 2020.3.0.7 or later of the TICS Plugin to mitigate the vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for io.jenkins.plugins:tics →

Share this vulnerability

FAQ

The vulnerability allows attackers to execute arbitrary code in the user's browser, potentially leading to unauthorized access to sensitive information and further attacks against the affected Jenkins instance.

No, only versions 2020.3.0.6 and earlier are affected. Version 2020.3.0.7 and later have addressed the vulnerability.

No, there is no known workaround for this vulnerability. It is recommended to upgrade to the fixed version of the TICS Plugin.

To update the TICS Plugin, follow the standard update process for Jenkins plugins. This typically involves accessing the Jenkins administration interface, navigating to the plugin management section, and selecting the option to update the TICS Plugin.

You can find more information about the vulnerability in the GitHub Advisory Database. The vulnerability identifier is GHSA-xmw5-45v9-pxqx.

How To Fix

Minimum fixed version

2020.3.0.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback