CVE-2020-2265: Stored XSS vulnerability in Coverage/Complexity Scatter Plot Plugin

Summary

24/05/2022
No i
High
8.0

CVE-2020-2265: Stored XSS vulnerability in Coverage/Complexity Scatter Plot Plugin. Affects org.jenkins-ci.plugins:covcomplplot versions < 1.1.1. No fix is published. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Coverage/Complexity Scatter Plot Plugin is a plugin for Jenkins, an open-source automation server. This plugin provides a scatter plot graph that visualizes the relationship between code coverage and complexity metrics. It allows users to analyze the quality of their codebase by identifying areas with low coverage and high complexity. The plugin integrates with Jenkins' post-build step to generate the scatter plot based on report files provided by the user.

Vulnerability Detail

The Jenkins Coverage/Complexity Scatter Plot Plugin version 1.1.1 and earlier is vulnerable to a stored cross-site scripting (XSS) attack. The plugin fails to properly escape the method information in tooltips, making it possible for an attacker to inject malicious scripts into the tooltips. This vulnerability can be exploited by attackers who are able to provide report files to the plugin's post-build step. If a user hovers over the tooltip containing the injected script, the script will be executed in the context of the user's browser, potentially leading to unauthorized actions or data theft.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is necessary to apply the patch provided by the plugin developers to mitigate the risk of exploitation.

Conclusion

The Jenkins Coverage/Complexity Scatter Plot Plugin version 1.1.1 and earlier is vulnerable to a stored XSS attack. Users of the plugin should upgrade to version 1.1.2 or later to mitigate the risk of exploitation. It is important to keep software dependencies up to date and follow secure coding practices to minimize the impact of vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:covcomplplot →

Share this vulnerability

FAQ

A stored XSS vulnerability occurs when an application stores user-supplied data without properly sanitizing or escaping it. This allows an attacker to inject malicious scripts that are then executed by other users who view the affected content.

By exploiting this vulnerability, an attacker can execute arbitrary scripts in the context of other users' browsers. This can lead to various malicious actions, such as stealing sensitive information, performing unauthorized actions on behalf of the user, or spreading malware.

Users of Jenkins who have the Coverage/Complexity Scatter Plot Plugin version 1.1.1 or earlier installed are affected by this vulnerability. It is recommended for all users of the plugin to update to the latest patched version.

There is no known evidence of this vulnerability being exploited in the wild at the time of this advisory. However, it is important to apply the patch as soon as possible to prevent potential exploitation.

For more information about this vulnerability, you can refer to the GitHub Security Advisory GHSA-f6mg-hmfp-6grw or the associated CVE-2020-2265.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:covcomplplot.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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