CVE-2022-34787: Jenkins Project Inheritance Plugin XSS Vulnerability

Summary

01/07/2022
No i
High
8.0

CVE-2022-34787: Jenkins Project Inheritance Plugin vulnerable to cross site scripting. Affects hudson.plugins:project-inheritance versions < 21.04.03. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Jenkins Project Inheritance Plugin is a Maven ecosystem package that allows for the inheritance of project configurations in Jenkins. It provides a convenient way to define a set of common configurations and reuse them across multiple projects. This plugin is widely used in Jenkins environments to streamline project management and configuration.

Vulnerability Detail

The Jenkins Project Inheritance Plugin version 21.04.03 and earlier is vulnerable to a cross-site scripting (XSS) attack. The plugin fails to properly escape the reason for a build being blocked in tooltips, making it susceptible to XSS attacks. An attacker with control over the reason a queue item is blocked can exploit this vulnerability. The impact of this vulnerability includes potential unauthorized access to sensitive information, session hijacking, and the execution of malicious scripts within the context of the affected user's browser.

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

As a temporary workaround, users can disable the use of tooltips in the Jenkins Project Inheritance Plugin. This can be achieved by modifying the plugin configuration to remove or comment out the tooltip-related code. However, this workaround may impact the user experience and should only be considered until the plugin can be updated to a fixed version.

Conclusion

The Jenkins Project Inheritance Plugin version 21.04.03 and earlier is vulnerable to a cross-site scripting (XSS) attack. It is crucial to update the plugin to version 21.04.04 or later to mitigate this vulnerability. Disabling tooltips can serve as a temporary workaround, but updating to the fixed version is recommended. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for hudson.plugins:project-inheritance →

Share this vulnerability

FAQ

This vulnerability can lead to unauthorized access to sensitive information, session hijacking, and the execution of malicious scripts within the user's browser.

You can use the Vulert Playground at Vulert Scanner to check if your Jenkins environment is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for any open-source vulnerabilities, including this XSS vulnerability.

Yes, a fix is available in version 21.04.04 or later of the Jenkins Project Inheritance Plugin. It is recommended to update the plugin to the latest version to mitigate the XSS vulnerability.

Yes, you can disable tooltips in the Jenkins Project Inheritance Plugin as a temporary workaround. However, this may impact the user experience and should only be considered until the plugin can be updated to a fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for hudson.plugins:project-inheritance.

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